pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 3 Feb 2019 13:02:34 +0000 (14:02 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 30 Sep 2019 12:42:43 +0000 (14:42 +0200)
commit5bdf090b6072143bd6e8c7ba4d1e285fbf919e63
tree8804ded34d7342ed5e464c1d91ed84fb244429b6
parent69f08b9f1eef9675626911f32b076e9191e0de9f
pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl

commit b6e5531c0f80de2779c87d0235b4fde5310a83b5 upstream.

In order to support GPIO config changes direct these to the generic pinctrl.
This also requires an adjust of the return code for unsupported parameter
otherwise gpiod_configure_flags wont work as expected.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c