diff options
author | Tomas Novotny | 2020-11-25 18:42:16 +0100 |
---|---|---|
committer | Lokesh Vutla | 2021-01-12 10:21:41 +0530 |
commit | 49b4c54bc969aae9a79e598266feec3d74275635 (patch) | |
tree | 0acb54e65ea850a45a3a5420573751d512b4cc88 /doc/README.nand | |
parent | ba904727690532b21b4be886831cb259a34f27ca (diff) |
gpio: tca642x: fix input subcommand for gpio banks > 0
The value of input pin for bank > 0 is always 0 for input subcommand.
The reason is that gpio_bank variable is computed only for invert and
output subcommands (it depends on number of arguments). The default
value of zero causes to shift the mask away for banks > 0.
Please note that info subcommand works as expected, because the input
pin values are accessed differently.
Fixes: 61c1775f16ed ("gpio: tca642x: Add the tca642x gpio expander driver")
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Diffstat (limited to 'doc/README.nand')
0 files changed, 0 insertions, 0 deletions