-
由 Dan Carpenter 提交于
If we have an unexpected number of channels then return -EINVAL instead of returning success. Fixes: df38a4a7 ("iio: dac: add TI DAC5571 family support") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210816183954.GB2068@kiliSigned-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
f7a28df7