mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 13:56:40 +07:00
staging:iio:core add missing increment of loop index in iio_map_array_unregister()
staging:iio:core add missing increment of loop index in iio_map_array_unregister() Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
50637f050e
commit
218f4d437d
@ -82,6 +82,7 @@ int iio_map_array_unregister(struct iio_dev *indio_dev,
|
||||
ret = -ENODEV;
|
||||
goto error_ret;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
error_ret:
|
||||
mutex_unlock(&iio_map_list_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user