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:
0e2de78
)
clk: bcm281xx: warn if ccu_wait_bit() fails
author
Alex Elder
<elder@linaro.org>
Mon, 21 Apr 2014 21:11:37 +0000
(16:11 -0500)
committer
Mike Turquette
<mturquette@linaro.org>
Wed, 30 Apr 2014 18:51:29 +0000
(11:51 -0700)
Don't let a failure of ccu_wait_bit() go unnoticed.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/bcm/clk-kona.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/bcm/clk-kona.c
b/drivers/clk/bcm/clk-kona.c
index db11a87449f236c6bc1fcf4e5f6084750a1d4f3a..4b4e35aeb77839f0dc361c969a6d417681fc072e 100644
(file)
--- a/
drivers/clk/bcm/clk-kona.c
+++ b/
drivers/clk/bcm/clk-kona.c
@@
-207,6
+207,9
@@
__ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want)
return true;
udelay(1);
}
+ pr_warn("%s: %s/0x%04x bit %u was never %s\n", __func__,
+ ccu->name, reg_offset, bit, want ? "set" : "clear");
+
return false;
}