summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/sun6i-a31.dtsi
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-07-28 07:44:17 -0700
committerLucas Stach <l.stach@pengutronix.de>2017-07-30 16:07:40 +0200
commit3918ca48a7fb20488786dd9644c31e6cae3195bd (patch)
tree87255ba3a0c4494f1df3e5aab08fde604a6fc6c8 /dts/src/arm/sun6i-a31.dtsi
parenta0c26429e472a175ac6b1736c8687a19a76e97a9 (diff)
downloadbarebox-3918ca48a7fb20488786dd9644c31e6cae3195bd.tar.gz
gpiolib: Fix buggy flag detection code
Both GPIOF_ACTIVE_LOW and GPIOF_INIT_ACTIVE are multi-bit constants so detecting their assertion using simple bit-wise and is incorrect and would lead to false positives. Fixes: bbc499914 ("gpiolib: Add code to support "active low" GPIOs") Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'dts/src/arm/sun6i-a31.dtsi')
0 files changed, 0 insertions, 0 deletions