]> git.openpandora.org Git - pandora-kernel.git/commitdiff
mtd: fsl-quadspi: Fix the error paths
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 23 Jan 2015 00:43:05 +0000 (22:43 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 03:51:27 +0000 (19:51 -0800)
Jumping to 'map_failed' label is not correct at these points, as it misses to
disable the clocks that were previously enabled.

Jump to 'irq_failed' label instead that will correctly disable the clocks.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Han Xu <han.xu@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/fsl-quadspi.c

Simple merge