Tomas Novotny
49b4c54bc9
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: 61c1775f16 ("gpio: tca642x: Add the tca642x gpio expander driver")
Cc: Dan Murphy <dmurphy@ti.com >
Signed-off-by: Tomas Novotny <tomas@novotny.cz >
2021-01-12 10:21:41 +05:30
..
2020-12-13 08:00:25 -07:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2018-05-07 09:34:12 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2017-02-08 16:24:29 -05:00
2021-01-05 12:24:40 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:26:35 -07:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:24:40 -07:00
2020-12-13 16:51:08 -07:00
2021-01-05 12:26:35 -07:00
2020-12-13 16:51:09 -07:00
2021-01-05 12:24:41 -07:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2020-08-20 09:46:55 +02:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:24:40 -07:00
2020-08-03 21:11:41 +02:00
2021-01-05 12:24:41 -07:00
2020-02-05 19:33:46 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 16:51:09 -07:00
2021-01-05 12:24:40 -07:00
2020-12-18 20:32:21 -07:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:26:35 -07:00
2021-01-05 12:26:35 -07:00
2020-12-13 16:51:09 -07:00
2021-01-05 12:24:41 -07:00
2021-01-05 12:24:40 -07:00
2020-12-13 16:51:09 -07:00
2020-05-18 18:36:55 -04:00
2020-02-05 19:33:46 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:24:40 -07:00
2021-01-05 12:26:35 -07:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2020-02-05 19:33:46 -07:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:24:40 -07:00
2021-01-12 10:21:41 +05:30
2020-05-18 21:19:23 -04:00
2021-01-05 12:24:40 -07:00
2021-01-05 12:24:40 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00