git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[sfrench/cifs-2.6.git]
/
drivers
/
clk
/
sunxi
/
clk-sun8i-bus-gates.c
diff --git
a/drivers/clk/sunxi/clk-sun8i-bus-gates.c
b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
index 63fdb790df2938ba1f1c35df96020926820ad065..bee305bdddbed0cfd0fad640ae61a9ab7c7e7ccb 100644
(file)
--- a/
drivers/clk/sunxi/clk-sun8i-bus-gates.c
+++ b/
drivers/clk/sunxi/clk-sun8i-bus-gates.c
@@
-78,6
+78,10
@@
static void __init sun8i_h3_bus_gates_init(struct device_node *node)
clk_parent = APB1;
else if (index >= 96 && index <= 127)
clk_parent = APB2;
+ else {
+ WARN_ON(true);
+ continue;
+ }
clk_reg = reg + 4 * (index / 32);
clk_bit = index % 32;