diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2017-04-19 11:30:44 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-04-24 16:22:14 +0200 |
commit | 64c6a71126fdeb2d60e193b93e24ea5ffa9c40ba (patch) | |
tree | 2ee7c5f669148f53b9f2ea82a005db3cc2cb88ce /Documentation/cdrom | |
parent | gpio: Add XRA1403 DTS binding documentation (diff) | |
download | linux-64c6a71126fdeb2d60e193b93e24ea5ffa9c40ba.tar.xz linux-64c6a71126fdeb2d60e193b93e24ea5ffa9c40ba.zip |
gpio: arizona: Correct check whether the pin is an input
The logic to check if the pin is an input or output whilst testing if we
need to read the register value from the hardware or not is currently
inverted. Remove the erroneous not from the if statement.
Fixes: 11598d174050 ("gpio: arizona: Correct handling for reading input GPIOs")
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/cdrom')
0 files changed, 0 insertions, 0 deletions