diff options
author | Fabio Estevam <festevam@gmail.com> | 2024-11-22 19:43:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 15:40:57 +0300 |
commit | 726218231b843117a934710aeddc763a1f2731ec (patch) | |
tree | 9c484c47096b3e50b4cb0875d979772543aa54cd /scripts/generate_rust_analyzer.py | |
parent | 9ccfd0097e76fedf49e8b7e044fa982a70eb1214 (diff) | |
download | linux-726218231b843117a934710aeddc763a1f2731ec.tar.xz |
iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()
commit 2a8e34096ec70d73ebb6d9920688ea312700cbd9 upstream.
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: stable@kernel.org
Fixes: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://patch.msgid.link/20241122164308.390340-1-festevam@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions