Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad7793: Add missing error code in ad7793_setup()
Set error code while device ID query failed. Fixes: 88bc305 ("IIO: ADC: New driver for AD7792/AD7793 3 Channel SPI ADC") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
- Loading branch information