summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/mcp320x.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-06-20 19:46:37 +0300
committerJonathan Cameron <jic23@kernel.org>2017-06-24 22:42:49 +0300
commita3507e48d3f99a93a3056a34a5365f310434570f (patch)
tree44b58ab7891bbb8d7549b57bb9f76acca04915b2 /drivers/iio/adc/mcp320x.c
parent41f1830f5a7af77cf5c86359aba3cbd706687e52 (diff)
downloadlinux-a3507e48d3f99a93a3056a34a5365f310434570f.tar.xz
iio: light: tsl2563: use correct event code
The TSL2563 driver provides three iio channels, two of which are raw ADC channels (channel 0 and channel 1) in the device and the remaining one is calculated by the two. The ADC channel 0 only supports programmable interrupt with threshold settings and this driver supports the event but the generated event code does not contain the corresponding iio channel type. This is going to change userspace ABI. Hopefully fixing this to be what it should always have been won't break any userspace code. Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/mcp320x.c')
0 files changed, 0 insertions, 0 deletions