]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: ad7606_spi: check error in ad7606B_sw_mode_config()
authorDavid Lechner <dlechner@baylibre.com>
Tue, 18 Mar 2025 22:52:10 +0000 (17:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:54 +0000 (19:09 +0100)
commit4d71bf6021818a039a534c5954acefdfc4d6962c
tree8d36638d18fad917d2f7fb7c7fb73087825d6b40
parent868fb0708087a9583cbf33ebc15eb6d2898b8787
iio: adc: ad7606_spi: check error in ad7606B_sw_mode_config()

Add missing error check in ad7606B_sw_mode_config().

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250318-iio-adc-ad7606-improvements-v2-2-4b605427774c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606_spi.c