summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorTony Lindgren2016-12-27 18:19:59 +0100
committerLinus Walleij2017-01-03 09:26:16 +0100
commit99e4f67508e1dd51e21ebae2150c6e4f4eae068b (patch)
tree9c8b6d2e865a0f06988ca14e77a75f7bc2d5f03a /drivers/mfd
parentpinctrl: imx: use radix trees for groups and functions (diff)
downloadkernel-qcow2-linux-99e4f67508e1dd51e21ebae2150c6e4f4eae068b.tar.gz
kernel-qcow2-linux-99e4f67508e1dd51e21ebae2150c6e4f4eae068b.tar.xz
kernel-qcow2-linux-99e4f67508e1dd51e21ebae2150c6e4f4eae068b.zip
pinctrl: core: Use delayed work for hogs
Having the pin control framework call pin controller functions before it's probe has finished is not nice as the pin controller device driver does not yet have struct pinctrl_dev handle. Let's fix this issue by adding deferred work for late init. This is needed to be able to add pinctrl generic helper functions that expect to know struct pinctrl_dev handle. Note that we now need to call create_pinctrl() directly as we don't want to add the pin controller to the list of controllers until the hogs are claimed. We also need to pass the pinctrl_dev to the device tree parser functions as they otherwise won't find the right controller at this point. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions