OpenCloudOS-Kernel/drivers/pinctrl/bcm
Stefan Wahren 4c02cba18c pinctrl: bcm2835: Fix initial value for direction_output
Currently the provided initial value for bcm2835_gpio_direction_output
has no effect. So fix this issue by changing the value before
changing the GPIO direction. As a result we need to move the function below
bcm2835_gpio_set.

Suggested-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Fixes: e1b2dc70cd ("pinctrl: add bcm2835 driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-12-14 11:31:20 +01:00
..
Kconfig pinctrl: cygnus: add gpio/pinconf driver 2015-03-18 02:02:19 +01:00
Makefile pinctrl: cygnus: add gpio/pinconf driver 2015-03-18 02:02:19 +01:00
pinctrl-bcm281xx.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Fix initial value for direction_output 2015-12-14 11:31:20 +01:00
pinctrl-cygnus-gpio.c pinctrl: cygnus: Remove GPIO to Pinctrl pin mapping from driver 2015-10-27 10:44:57 +01:00
pinctrl-cygnus-mux.c pinctrl: make pinctrl_register() return proper error code 2015-06-10 14:49:52 +02:00