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:
de7416b
)
pinctrl: single: search for the bits property when parsing bits
author
Axel Haslam
<ahaslam@baylibre.com>
Wed, 9 Nov 2016 14:54:01 +0000
(15:54 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 11 Nov 2016 20:29:37 +0000
(21:29 +0100)
The pcs_parse_bits_in_pinctrl_entry function should search
for the "pinctrl-single,bits" and not "pinctrl-single,pins"
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/pinctrl-single.c
b/drivers/pinctrl/pinctrl-single.c
index f36a9f1f3949e0c502a56f7577002ccfa57cd59c..2b196e53d937a0cb86cbf81889ae432c511f3d32 100644
(file)
--- a/
drivers/pinctrl/pinctrl-single.c
+++ b/
drivers/pinctrl/pinctrl-single.c
@@
-1223,7
+1223,7
@@
static int pcs_parse_bits_in_pinctrl_entry(struct pcs_device *pcs,
unsigned *num_maps,
const char **pgnames)
{
- const char *name = "pinctrl-single,
pin
s";
+ const char *name = "pinctrl-single,
bit
s";
struct pcs_func_vals *vals;
int rows, *pins, found = 0, res = -ENOMEM, i;
int npins_in_row;