diff options
author | Cosmin Tanislav <[email protected]> | 2022-01-11 09:47:01 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-01-30 14:22:21 +0000 |
commit | 8a3e4a5614adab30b6e0eb7dbd8ef737aabbb8eb (patch) | |
tree | 49add0a57d5b4107aaeba4eef0e0706226a35155 /lib/test-string_helpers.c | |
parent | e7a3290d330e3f8cf06a3cad455c49e89183137b (diff) |
iio: addac: ad74413r: use ngpio size when iterating over mask
ngpio is the actual number of GPIOs handled by the GPIO chip,
as opposed to the max number of GPIOs.
Fixes: fea251b6a5db ("iio: addac: add AD74413R driver")
Signed-off-by: Cosmin Tanislav <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions