diff options
author | Fabio Estevam | 2014-04-03 23:49:38 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-04-04 01:21:16 +0200 |
commit | 3378f73da2d7fb765240dbf348cad11648c5b775 (patch) | |
tree | 448b269911461bf99d29155af6e8e225c11cf105 /drivers/rtc/rtc-at32ap700x.c | |
parent | rtc: fix potential race condition (diff) | |
download | kernel-qcow2-linux-3378f73da2d7fb765240dbf348cad11648c5b775.tar.gz kernel-qcow2-linux-3378f73da2d7fb765240dbf348cad11648c5b775.tar.xz kernel-qcow2-linux-3378f73da2d7fb765240dbf348cad11648c5b775.zip |
drivers/rtc/rtc-imxdi.c: check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so let's check its return value and
propagate it in the case of error.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-at32ap700x.c')
0 files changed, 0 insertions, 0 deletions