diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-26 05:43:33 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-01-22 21:01:19 +0300 |
commit | 5910fa0d0d9809c4d8fbf1fb905a8c86fbf2eccb (patch) | |
tree | 8ea1ba19b57dc4ea23dfc9d34eec158b661278e6 /drivers/rtc/rtc-hym8563.c | |
parent | bbb4383826b20cdc9efbd8ffdd19a5fa58320175 (diff) | |
download | linux-5910fa0d0d9809c4d8fbf1fb905a8c86fbf2eccb.tar.xz |
rtc: coh901331: fix a missing check of clk_prepare
clk_prepare() could fail, so let's check its status and if it fails
return its error code upstream.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-hym8563.c')
0 files changed, 0 insertions, 0 deletions