From: Jacob Pan Date: Mon, 6 Apr 2015 18:38:20 +0000 (-0700) Subject: iio/axp288_adc: add missing channel info mask X-Git-Tag: omap-for-v4.2/soc-pt1-take2~6^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0716b0ea4ce11a13477163c14b26e180922ba51;p=pandora-kernel.git iio/axp288_adc: add missing channel info mask Commit 65de7654d39c70c2b ("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 Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed