diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-06-11 09:40:16 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-06-26 19:32:52 +0100 |
| commit | 1763bd3a0c030284083c044900da1b185a91b27c (patch) | |
| tree | 9d03924757fc07cd28134469ba398ba361593f97 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | d657e251d9d48057b27e1aa175d5440653b20c54 (diff) | |
iio: adc: ad7173: check return value of spi_setup()
Check the return value of spi_setup() and propagate the error in the
ad7173_probe() function. This is unlikely to happen since virtually
every SPI controller supports SPI_MODE_3, but still always a good idea
to check the return value.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250611-iio-adc-ad7173-check-spi_setup-return-v1-1-4d6f9ef0a2e4@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
