WSL2-Linux-Kernel/drivers/iio/dac
Dan Carpenter f7a28df7db iio: dac: ti-dac5571: fix an error code in probe()
If we have an unexpected number of channels then return -EINVAL instead
of returning success.

Fixes: df38a4a72a ("iio: dac: add TI DAC5571 family support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210816183954.GB2068@kili
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-09-14 12:02:08 +01:00
..
Kconfig iio: dac: ad5686: Add support for AD5673R/AD5677R 2021-03-11 20:47:10 +00:00
Makefile iio: dac: ad5766: add driver support for AD5766 2021-01-22 08:52:05 +00:00
ad5064.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5360.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5380.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5421.c iio: dac: ad5421: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:02:54 +01:00
ad5446.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5449.c iio: dac: ad5449: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:01 +01:00
ad5504.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5592r-base.c Second set of features and cleanups for IIO in 5.10 2020-09-22 09:45:11 +02:00
ad5592r-base.h iio: dac: ad5592r-base: Replace indio_dev->mlock with own device lock 2020-05-21 19:37:05 +01:00
ad5592r.c iio:dac:ad5592r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5593r.c iio:dac:ad5593r: Drop of_match_ptr and ACPI_PTR protections. 2020-09-21 18:41:27 +01:00
ad5624r.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5624r_spi.c iio: dac: ad5624r: Fix incorrect handling of an optional regulator. 2021-07-19 09:51:58 +01:00
ad5686-spi.c drivers: iio: dac: Fix wrong license for ADI drivers 2019-02-09 18:46:01 +00:00
ad5686.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5686.h iio: dac: ad5686: Add support for AD5673R/AD5677R 2021-03-11 20:47:10 +00:00
ad5696-i2c.c iio: dac: ad5686: Add support for AD5673R/AD5677R 2021-03-11 20:47:10 +00:00
ad5755.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5758.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad5761.c iio: dac: ad5761: Fix kerneldoc attribute formatting for 'lock' 2020-07-20 09:03:04 +01:00
ad5764.c iio: dac: ad5764: Fix misdocumenting and formatting error 2020-07-20 09:03:06 +01:00
ad5766.c iio: dac: ad5766: Drop duplicate setting of iio_dev.dev.parent and of_node 2021-05-17 13:49:12 +01:00
ad5770r.c iio: dac: ad5770r: Put fwnode in error case during ->probe() 2021-05-22 08:32:36 +01:00
ad5791.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad7303.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ad8801.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
cio-dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
dpot-dac.c Merge 5.9-rc5 into staging-next 2020-09-14 06:57:52 +02:00
ds4424.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
lpc18xx_dac.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc1660.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc2632.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
m62332.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
max517.c iio:dac:max517.c: Use devm_iio_device_register() 2021-03-25 19:13:52 +00:00
max5821.c iio: dac: max5821: convert device register to device managed function 2021-07-31 18:17:22 +01:00
mcp4725.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
mcp4922.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
stm32-dac-core.c iio: adc: stm32: Simplify with dev_err_probe() 2020-09-03 19:40:50 +01:00
stm32-dac-core.h iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
stm32-dac.c iio: dac: stm32-dac: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01:00
ti-dac082s085.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ti-dac5571.c iio: dac: ti-dac5571: fix an error code in probe() 2021-09-14 12:02:08 +01:00
ti-dac7311.c iio: dac: Convert powerdown read callbacks to sysfs_emit() 2021-03-29 11:12:30 +01:00
ti-dac7612.c iio: dac: ti-dac7612: Replace indio_dev->mlock with own device lock 2020-09-16 18:56:22 +01:00
vf610_dac.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00