diff options
| author | Fabio Estevam <[email protected]> | 2024-11-22 16:43:08 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-12-07 17:23:42 +0000 |
| commit | 2a8e34096ec70d73ebb6d9920688ea312700cbd9 (patch) | |
| tree | 714333602104aac9b35e25552f5fa59ea9d52b2e /net/unix/af_unix.c | |
| parent | iio: adc: ti-ads1119: fix information leak in triggered buffer (diff) | |
| download | kernel-2a8e34096ec70d73ebb6d9920688ea312700cbd9.tar.gz kernel-2a8e34096ec70d73ebb6d9920688ea312700cbd9.zip | |
iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()
Using gpiod_set_value() to control the reset GPIO causes some verbose
warnings during boot when the reset GPIO is controlled by an I2C IO
expander.
As the caller can sleep, use the gpiod_set_value_cansleep() variant to
fix the issue.
Tested on a custom i.MX93 board with a ADS124S08 ADC.
Cc: [email protected]
Fixes: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code")
Signed-off-by: Fabio Estevam <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
