diff options
author | Cosmin Tanislav <demonsingur@gmail.com> | 2022-01-11 09:47:01 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-30 14:22:21 +0000 |
commit | 8a3e4a5614adab30b6e0eb7dbd8ef737aabbb8eb (patch) | |
tree | 49add0a57d5b4107aaeba4eef0e0706226a35155 /net/iucv | |
parent | e7a3290d330e3f8cf06a3cad455c49e89183137b (diff) | |
download | linux-stable-8a3e4a5614adab30b6e0eb7dbd8ef737aabbb8eb.tar.gz linux-stable-8a3e4a5614adab30b6e0eb7dbd8ef737aabbb8eb.tar.bz2 linux-stable-8a3e4a5614adab30b6e0eb7dbd8ef737aabbb8eb.zip |
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 <cosmin.tanislav@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220111074703.3677392-1-cosmin.tanislav@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions