Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad9361: use gpiod_set_value_cansleep() when resetting chip
The gpiod_set_value() invocation for the reset pin always happens in a context where sleeping is possible. Use gpiod_set_value_cansleep() to indicate this. This will make sure that GPIO drivers that will sleep can be used to driver the reset GPIO. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
- Loading branch information