diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-11-19 00:32:27 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-14 11:31:20 +0100 |
commit | 4c02cba18cc9de672a554ddda4f23dec8cb4b48e (patch) | |
tree | dbaa6d40b3a8cafb9ccafadde350389596bc2691 /drivers/pinctrl/pinctrl-xway.c | |
parent | 99a735b3c287b70aa67952b1ff3d85cd924d85f9 (diff) |
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: e1b2dc70cd5b ("pinctrl: add bcm2835 driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-xway.c')
0 files changed, 0 insertions, 0 deletions