]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sama5d2-piobu: Set proper output level for direction_output
authorAxel Lin <axel.lin@ingics.com>
Mon, 31 Dec 2018 09:52:56 +0000 (17:52 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jan 2019 09:34:37 +0000 (10:34 +0100)
commit1e684d5a636249b0450a62d60f625308d71f14c4
treec52e1425e126f2fd1e0b86754acaa508ea8343fd
parenta3f78648ba770090d89aa4002b018fdf64ea9ed1
gpio: sama5d2-piobu: Set proper output level for direction_output

Set proper output level base on the argument of direction_output.
Also remove sama5d2_piobu_set_direction() as there is only one caller
now.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sama5d2-piobu.c