projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
clk
/
clk-gate.c
diff --git
a/drivers/clk/clk-gate.c
b/drivers/clk/clk-gate.c
index 186b96efeebffb5c85bd1d273dc6f1a3e0a7bccb..3f0e4200cb5d4ca4a680c78479ac86ed116766a5 100644
(file)
--- a/
drivers/clk/clk-gate.c
+++ b/
drivers/clk/clk-gate.c
@@
-128,7
+128,7
@@
struct clk *clk_register_gate(struct device *dev, const char *name,
struct clk_init_data init;
if (clk_gate_flags & CLK_GATE_HIWORD_MASK) {
- if (bit_idx > 1
6
) {
+ if (bit_idx > 1
5
) {
pr_err("gate bit exceeds LOWORD field\n");
return ERR_PTR(-EINVAL);
}