
23 Dec
2020
23 Dec
'20
9:14 a.m.
On 25/11/20 11:12 pm, Tomas Novotny wrote:
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
Applied to u-boot-ti/for-next
Thanks and regards, Lokesh