projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1852a
)
[COMMON] rtc: rtc-s3c: Fix build error for kernel 4.14
author
Jaehyoung Choi
<jkkkkk.choi@samsung.com>
Sun, 14 Jan 2018 06:48:41 +0000
(15:48 +0900)
committer
Jaehyoung Choi
<jkkkkk.choi@samsung.com>
Wed, 9 May 2018 11:27:51 +0000
(20:27 +0900)
Change-Id: I0853f1b233346f3c6f6a11c0888c7acb70fa7741
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
drivers/rtc/rtc-s3c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-s3c.c
b/drivers/rtc/rtc-s3c.c
index a26d03637d169cef9b83c20d4c72e375bec5d3ce..687ab8997ec91d05dd860ff41399f750a032d2e3 100644
(file)
--- a/
drivers/rtc/rtc-s3c.c
+++ b/
drivers/rtc/rtc-s3c.c
@@
-75,7
+75,7
@@
static int s3c_rtc_enable_clk(struct s3c_rtc *info)
int ret = 0;
if (info->data->clock_ctrl_disable)
- return;
+ return
ret
;
spin_lock_irqsave(&info->alarm_clk_lock, irq_flags);
@@
-614,8
+614,6
@@
err_nortc:
if (info->data->needs_src_clk)
clk_disable_unprepare(info->rtc_src_clk);
-err_src_clk:
- clk_disable_unprepare(info->rtc_clk);
return ret;
}