commit | 17b694a5476de09e119c517dcc3b71eff6835bdf | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Sep 03 13:58:31 2017 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Sep 18 12:07:30 2017 +0200 |
tree | c2395fc0c866d77526ffb51f9d326ab002226f62 | |
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>