mtd: nand: lpc32xx_mlc: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 11:40:11 +0000 (17:10 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:20 +0000 (16:49 +0200)
commit4d26f012ab591d7671237a6b5e990cbbfd50b0b8
tree2fbd5cbfd96e69606249c620ee7243abed2f772d
parent7c94128127ba6ecbaa1e2085088c7337a99aaf51
mtd: nand: lpc32xx_mlc: Handle return value of clk_prepare_enable.

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/lpc32xx_mlc.c