diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-09-03 13:58:31 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-09-18 12:07:30 +0200 |
commit | 17b694a5476de09e119c517dcc3b71eff6835bdf (patch) | |
tree | c2395fc0c866d77526ffb51f9d326ab002226f62 /include/memory | |
parent | bfa4133795e5a0badd402dd3f58b13b3cec64a4b (diff) |
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 'include/memory')
0 files changed, 0 insertions, 0 deletions