Skip to content
Commit 4c02cba1 authored by Stefan Wahren's avatar Stefan Wahren Committed by Linus Walleij
Browse files

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: default avatarMartin Sperl <kernel@martin.sperl.org>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Acked-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Fixes: e1b2dc70

 ("pinctrl: add bcm2835 driver")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 99a735b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment