]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: vf610: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 18 Jul 2017 00:54:07 +0000 (21:54 -0300)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:14 +0000 (16:49 +0200)
commit9d8ba1baf0d23e86a78d97c9da2d4109a6a4eb26
tree49d4234fc8c58bd7f615abfcd65899ebac541a01
parent45a4c57cfcd3c074ee21a27f1252cc8e6ebd7435
mtd: nand: vf610: Check the return value from clk_prepare_enable()

clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/vf610_nfc.c