projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
036f394
)
pinctrl: stmfx: enable links creations
author
Benjamin Gaignard
<benjamin.gaignard@st.com>
Wed, 22 May 2019 15:29:25 +0000
(17:29 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 23 May 2019 07:35:48 +0000
(09:35 +0200)
Set create_link to inform pinctrl core that stmfx wants to create
link with its consumers.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-stmfx.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-stmfx.c
b/drivers/pinctrl/pinctrl-stmfx.c
index eba872ce4a7cb2bac51fb345735551cc49d82c6c..d3332da356372f9c666c5e3fd50609beb2fc5a0c 100644
(file)
--- a/
drivers/pinctrl/pinctrl-stmfx.c
+++ b/
drivers/pinctrl/pinctrl-stmfx.c
@@
-622,6
+622,7
@@
static int stmfx_pinctrl_probe(struct platform_device *pdev)
pctl->pctl_desc.pins = stmfx_pins;
pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins);
pctl->pctl_desc.owner = THIS_MODULE;
+ pctl->pctl_desc.link_consumers = true;
ret = devm_pinctrl_register_and_init(pctl->dev, &pctl->pctl_desc,
pctl, &pctl->pctl_dev);