Re: [PATCH 2/4] pinctrl: samsung: Register pinctrl before GPIO

2017-02-15 Thread Krzysztof Kozlowski
On Mon, Feb 13, 2017 at 10:11:04AM +, Charles Keepax wrote: > If we request a GPIO hog, then gpiochip_add_data will attempt to request > some of its own GPIOs. The driver also uses gpiochip_generic_request > which means that for any GPIO request to succeed the pinctrl needs to be > registered.

[PATCH 2/4] pinctrl: samsung: Register pinctrl before GPIO

2017-02-13 Thread Charles Keepax
If we request a GPIO hog, then gpiochip_add_data will attempt to request some of its own GPIOs. The driver also uses gpiochip_generic_request which means that for any GPIO request to succeed the pinctrl needs to be registered. Currently however the driver registers the GPIO and then the pinctrl mea