linux/drivers/mtd/nand/gpmi-nand
Fabio Estevam ce93bedb5e mtd: nand: gpmi: disable the clocks on errors
We should disable the previously enabled GPMI clocks in the error paths.

Also, when gpmi_enable_clk() fails simply return the error
code immediately rather than jumping to to the 'err_out' label.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-10-28 09:58:05 +02:00
..
Makefile
bch-regs.h mtd: gpmi: add gpmi support for imx6sx 2014-05-28 16:02:16 -07:00
gpmi-lib.c mtd: nand: gpmi: disable the clocks on errors 2016-10-28 09:58:05 +02:00
gpmi-nand.c mtd: nand: gpmi: get correct free oob space 2016-09-23 09:35:16 +02:00
gpmi-nand.h mtd: nand: gpmi: use the mtd instance embedded in struct nand_chip 2015-12-18 10:54:41 -08:00
gpmi-regs.h mtd: gpmi: decouple the chip select from the DMA channel 2013-11-06 23:33:01 -08:00