projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08acc96
)
pinctrl: sprd: Fix the incorrect pull-up definition
author
Baolin Wang
<baolin.wang7@gmail.com>
Thu, 7 May 2020 03:47:25 +0000
(11:47 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 3 Jun 2020 22:15:20 +0000
(
00:15
+0200)
The bits of pull up resistor selection were defined mistakenly,
thus fix them.
Fixes: 41d32cfce1ae ("pinctrl: sprd: Add Spreadtrum pin control driver")
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link:
https://lore.kernel.org/r/e973f8f194ce4cb2639121572e8621b5efa5bfbe.1588823152.git.baolin.wang7@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sprd/pinctrl-sprd.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
index 48cbf2a2837f128c27a1339335d2e5f56bc3f175..08dc1931b358d58e7a0a08e4cb36ceb1e32c0a62 100644
(file)
--- a/
drivers/pinctrl/sprd/pinctrl-sprd.c
+++ b/
drivers/pinctrl/sprd/pinctrl-sprd.c
@@
-68,8
+68,8
@@
#define SLEEP_PULL_UP_MASK 0x1
#define SLEEP_PULL_UP_SHIFT 3
-#define PULL_UP_
20K
(BIT(12) | BIT(7))
-#define PULL_UP_
4_7K BIT(12
)
+#define PULL_UP_
4_7K
(BIT(12) | BIT(7))
+#define PULL_UP_
20K BIT(7
)
#define PULL_UP_MASK 0x21
#define PULL_UP_SHIFT 7