aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/dt-bindings/gpio
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2017-04-05 16:50:46 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-04-07 12:14:04 +0200
commit11598d1740500e3c1848122f3e77ab017aa38b77 (patch)
treef8897a4c50430564183dbf3b0555b443d85771bf /include/dt-bindings/gpio
parentgpio: 104-idi-48: make use of raw_spinlock variants (diff)
downloadwireguard-linux-11598d1740500e3c1848122f3e77ab017aa38b77.tar.xz
wireguard-linux-11598d1740500e3c1848122f3e77ab017aa38b77.zip
gpio: arizona: Correct handling for reading input GPIOs
The GPIO register is cached since all the configuration resides within it, however, this means for input GPIOs the driver will not return the actual state but the last value written to the register cache. To correct this in the case of reading an input GPIO resume the CODEC and drop the cache for the input register to ensure an actual hardware read takes place. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/dt-bindings/gpio')
0 files changed, 0 insertions, 0 deletions