[PATCH 01/10] gpio: pxa: set initcall level to module init

Robert Jarzmik robert.jarzmik at free.fr
Fri Jan 25 16:01:52 EST 2013

Haojian Zhuang <haojian.zhuang at linaro.org> writes:

> gpio & pinctrl driver are used together. The pinctrl driver is already
> launched before gpio driver in Makefile. So set gpio driver to module
> init level. Otherwise, the sequence will be inverted.
Hi Haojian,

If you switch gpio to module level, and as some modules use gpios in their init
path, isn't it possible that some modules will fail their init, as GPIO API
won't provide the gpio_*_value() functions ?



More information about the linux-arm-kernel mailing list