]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
authorPeter Rosin <peda@axentia.se>
Wed, 17 Jan 2018 13:34:23 +0000 (14:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Jan 2018 10:04:47 +0000 (11:04 +0100)
commitbec37a6a897cf0b335524dc7c53f0284e5685194
tree29f9adfd89a78bfa941ad0ea079f0e33483793d5
parent163520f0e987770028b9468fefc7191ce3a33d78
pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping

Without such a range, gpiolib fails with -EPROBE_DEFER, pending the
addition of the range. So, without a range, gpiolib will keep
deferring indefinitely.

Cc: stable@vger.kernel.org
Fixes: 65de2887c01e ("pinctrl: Add SX150X GPIO Extender Pinctrl Driver")
Fixes: 92b0a74c34b4 ("gpio: gpiolib: Generalise state persistence beyond sleep")
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c