diff options
| author | William Breathitt Gray <[email protected]> | 2018-04-20 13:50:20 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-04-30 08:48:08 +0000 |
| commit | e026646c178d8292de563fbecc247bada059c282 (patch) | |
| tree | cced27a85129ff2a04f885ab8ac51248751db1d0 /fs/proc/array.c | |
| parent | gpio: pcie-idio-24: Fix port memory offset for get_multiple/set_multiple call... (diff) | |
| download | kernel-e026646c178d8292de563fbecc247bada059c282.tar.gz kernel-e026646c178d8292de563fbecc247bada059c282.zip | |
gpio: pcie-idio-24: Fix off-by-one error in get_multiple loop
The PCIe-IDIO-24 features 8 bits of TTL GPIO which may be configured for
output or input. This patch fixes an off-by-one error in the loop
conditional for the get_multiple callback so that the TTL GPIO are
handled.
Fixes: ca37081595a2 ("gpio: pcie-idio-24: Implement get_multiple/set_multiple callbacks")
Signed-off-by: William Breathitt Gray <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
