summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/st_magn_core.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2014-10-09 15:02:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-09-14 18:20:12 +0100
commitd4f51956ac8ad302db9b0c4e4232775b1baa7b44 (patch)
tree453386d572137d274883a716658f25fc114a7610 /drivers/iio/magnetometer/st_magn_core.c
parent1887e724e2b6df06847522fe9dc2ab53639516cc (diff)
iio: adc: at91: don't use the last converted data register
If touchscreen mode is enabled and a conversion is requested on another channel, the result in the last converted data register can be a touchscreen relative value. Starting a conversion involves to do a conversion for all active channel. It starts with ADC channels and ends with touchscreen channels. Then if ADC_LCD register is not read quickly, its content may be a touchscreen conversion. To remove this temporal constraint, the conversion value is taken from the channel data register. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/st_magn_core.c')
0 files changed, 0 insertions, 0 deletions