gpio: amd-fch: Set proper output level for direction_output
authorAxel Lin <axel.lin@ingics.com>
Wed, 6 Mar 2019 14:02:55 +0000 (22:02 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Mar 2019 13:11:30 +0000 (14:11 +0100)
commitf777cda3937007ef2818644bfa6d383c69d6bb28
tree621ef6024f2c0922552bf6c594a6941fd4a475f9
parentdeb63b0b812f0ef6c37484f23ee3de4b115f7bb2
gpio: amd-fch: Set proper output level for direction_output

Current amd_fch_gpio_direction_output implementation ignores the value
argument, fix it so direction_output will set proper output level.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Enrico Weigelt <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-amd-fch.c