]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: pxa3xx: Check for clk_prepare_enable() return value
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 17 Apr 2013 16:38:13 +0000 (13:38 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 15 May 2013 07:16:13 +0000 (10:16 +0300)
commitcc2e3e57e140aa6d10847b07193aed2c3d77247c
treeea1913fdfe61a7d4b99bcddbcb3554da94aa6fa1
parent89d98a636c3a91407fdfde0ade1b4102e66d6fb4
mtd: nand: pxa3xx: Check for clk_prepare_enable() return value

clk_prepare_enable() can fail due to unknown reason.
Add a check for this and return the error code if it fails.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/pxa3xx_nand.c