]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedbf50df80a9b41162b03d75bd82cd6ade1d09c9
tree621ef6024f2c0922552bf6c594a6941fd4a475f9
parent8924a4c778e5ac28c4c5235b1f7edd7b9fd571ec
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