pinctrl: zynq: Initialize early
authorMike Looijmans <mike.looijmans@topic.nl>
Thu, 22 Oct 2015 11:30:20 +0000 (13:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Oct 2015 09:40:57 +0000 (10:40 +0100)
commit13e3008fae342c86dd645b2ec4c669bbb40c5d33
tree1dc6c55d975e30ecc248ea2a9106c3ab71601c13
parentd94b986aa734efea09fbc8f59390ba2e4e00f9d0
pinctrl: zynq: Initialize early

Supplying pinmux configuration for e.g. gpio pins leads to deferred
probes because the pinctrl device is probed much later than gpio.
Move the init call to a much earlier stage so it probes before the
devices that may need it.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Tested-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-zynq.c