summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-10-30 10:48:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-04 09:06:12 +0100
commit660041ba309268c3f5404da4ae1b7eba201f4c4c (patch)
treed4d14626a93e702122715734cf77f7fb14c7fe8d /fs
parent8d6da6462b12a5e7cc84253ada8f91cd4561dc5e (diff)
downloadbarebox-660041ba309268c3f5404da4ae1b7eba201f4c4c.tar.gz
barebox-660041ba309268c3f5404da4ae1b7eba201f4c4c.tar.xz
OF: gpio: don't warn if ignored GPIO flag matches the behavior
Port of the upstream accepted change to the Linux kernel. Some devicetrees specify the ACTIVE_LOW flag in the fixed regulator GPIO handle. While this has always been ignored, it's consistent with the behavior of the regulator binding in the absence of the "enable-active-high" DT property. It doesn't make much sense to print a user visible warning for a configuration which is consistent, so only print the warning if the GPIO flag contradicts the behavior dictated by by the enable-active-high property. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions