diff options
| author | 2013-04-17 13:38:13 -0300 | |
|---|---|---|
| committer | 2013-08-05 20:47:48 +0100 | |
| commit | 1f8eaff2aa75f8ec662e044deecdc91abc780d60 (patch) | |
| tree | c27f6fe842e2b2c6eb5e7f8344fdaef327c8a5e0 /include/linux/kernel_stat.h | |
| parent | mtd: nand: pxa3xx: Use clk_prepare_enable and clk_disable_unprepare (diff) | |
| download | linux-dev-1f8eaff2aa75f8ec662e044deecdc91abc780d60.tar.xz linux-dev-1f8eaff2aa75f8ec662e044deecdc91abc780d60.zip | |
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions
