diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-08-20 18:16:21 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-23 08:56:31 +0200 |
commit | 529301c19cbc315929e1b39ee71859061910b652 (patch) | |
tree | c806d108e0f0c4331e06d80906a09045efe98d5e /drivers/pinctrl/pinconf-generic.c | |
parent | 736658c5ebc93743687c6f627c9317b97d26c5be (diff) | |
download | lwn-529301c19cbc315929e1b39ee71859061910b652.tar.gz lwn-529301c19cbc315929e1b39ee71859061910b652.zip |
pinctrl: samsung: Parse pin groups before calling pinctrl_register()
Calling pinctrl_register() means that the driver is fully initialized
and might accept pinmux/pinconf requests, so pin groups must be parsed
before.
This patch fixes this problem by moving device tree parsing before call
to pinctrl_register(). In addition, this fixes support for hogs on
pin controllers handled by pinctrl-samsung driver.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
0 files changed, 0 insertions, 0 deletions