]> 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, 29 May 2013 06:57:01 +0000 (09:57 +0300)
commit4dffffd61cf04260b971aadc6a7746dd5992a748
tree14d89315b3abbde108c1eaac5e6e036c745dde0a
parent0b65047c18d8987072fa349b0f7d19d275d938bf
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