]> 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)
commit4273b5de64388cace830b376dc18ad5d7317bc9b
tree621ef6024f2c0922552bf6c594a6941fd4a475f9
parent8c17de20b776a6cb98592668ebb02712f3ebd7a7
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