Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio/axp288_adc: add missing channel info mask
Commit 65de765 ("iio: iio: Fix iio_channel_read return if channel havn't info") added a check for valid info masks. This patch adds missing channel info masks for all ADC channels. Otherwise, iio_read_channel_raw() would return -EINVAL when called by consumer drivers. Note that the change of _processed to _raw actually fixes an ABI abuse in the original driver where it was used to avoid some special handling rather than because it was correct. Signed-off-by: Jacob Pan <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information