Commit 5f79e44
committed
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 <[email protected]>1 parent be03583 commit 5f79e44
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
| 937 | + | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| |||
0 commit comments