]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: pca953x_gpio: fix DT GPIO flags translation
authorAnatolij Gustschin <agust@denx.de>
Thu, 18 Oct 2018 14:15:39 +0000 (16:15 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Nov 2018 15:59:23 +0000 (10:59 -0500)
commit745915aa5975fe7056ce6c89651391624ee1341a
treea077e258c30844349294f08551df60e57d8a5bf3
parentcbabe7f87f87c47a2d1e31c4bba1de375e3c85df
gpio: pca953x_gpio: fix DT GPIO flags translation

Commit fb01e07a95 accidentally broke initialisation of GPIO
descriptor flags from device tree: currently the active low
flag from gpio-specifier is always ignored. Fix it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Mario Six <mario.six@gdsys.cc>
drivers/gpio/pca953x_gpio.c