summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-09-03 13:58:31 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-09-18 12:07:30 +0200
commit17b694a5476de09e119c517dcc3b71eff6835bdf (patch)
treec2395fc0c866d77526ffb51f9d326ab002226f62 /drivers/mtd/nand/nand_base.c
parentmtd: spi-nor: fix DMA unsafe buffer issue in spi_nor_read_sfdp() (diff)
downloadlinux-17b694a5476de09e119c517dcc3b71eff6835bdf.tar.xz
linux-17b694a5476de09e119c517dcc3b71eff6835bdf.zip
mtd: nand: lpc32xx_mlc: Fix an error handling path in lpc32xx_nand_probe()
If 'clk_prepare_enable()' fails, we must 'put' the corresponding clock. Fixes: 4d26f012ab59 ("mtd: nand: lpc32xx_mlc: Handle return value of clk_prepare_enable.") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions