summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-10-23 10:17:05 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-10-24 07:36:35 +0200
commitc57d75c099e55500b620f50a207e61b9e20ecd29 (patch)
tree97c7726908fda2e1b3f3b6e2bc4d1478a28ad35d /kernel/smp.c
parenta48221a26e4914b7e2d8a1749b6115212bac8bee (diff)
downloadblackbird-op-linux-c57d75c099e55500b620f50a207e61b9e20ecd29.tar.gz
blackbird-op-linux-c57d75c099e55500b620f50a207e61b9e20ecd29.zip
gpio: mvebu: correctly set the value in direction_output()
The ->direction_output() operation of gpio_chip is supposed to set the direction to output but also to set the GPIO to an initial value. Unfortunately, this last part was not done until now, causing for example the LEDs to not be properly set to their default initial value. This patch fixes this by calling the mvebu_gpio_set() function from mvebu_gpio_direction_output() before configuring the GPIO as an output GPIO. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud