]> asedeno.scripts.mit.edu Git - linux.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)
commite4889362e0389e95970d28707599aa8e08c35b51
treec52e1425e126f2fd1e0b86754acaa508ea8343fd
parent72893f0c6bd399ce84e3c1c9fc69d234fe37d098
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