]> git.sur5r.net Git - u-boot/commit
gpio: mvebu_gpio: Add missing out value set to gpio_direction_output()
authorStefan Roese <sr@denx.de>
Thu, 7 Apr 2016 05:41:00 +0000 (07:41 +0200)
committerStefan Roese <sr@denx.de>
Tue, 12 Apr 2016 09:13:33 +0000 (11:13 +0200)
commitb23005cec3b23a4ac8f7336a427febdddc6451e7
treeb5605789a68ef33a2d57e5cef1c2d21be738ee77
parentbbf8bef196ae52517284a0a2e2ffc94a4ff89f5f
gpio: mvebu_gpio: Add missing out value set to gpio_direction_output()

This patch adds the missing configuration of the output value to the
gpio_direction_output() function. Without this, calling
gpio_direction_output() does not set the out-value at all and only
configures the gpio as output.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kevin Smith <kevin.smith@elecsyscorp.com>
Reviewed-by: Kevin Smith <kevin.smith@elecsyscorp.com>
drivers/gpio/mvebu_gpio.c