Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6045b4e authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Linus Walleij
Browse files

pinctrl: stmfx: enable links creations



Set create_link to inform pinctrl core that stmfx wants to create
link with its consumers.

Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 036f394d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);