diff options
author | Vignesh R <vigneshr@ti.com> | 2014-09-01 12:01:06 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 08:15:50 +0100 |
commit | 6ac734d2242949f41eb1346ca0fd4ed010c937aa (patch) | |
tree | 36f4d04a4bd6479a2310d8cc87d17888353993ec /drivers/mfd/rn5t618.c | |
parent | a654f81640caa0bb648b0e45b792ba846c9bb02d (diff) |
mfd: ti_am335x_tscadc: Fix TSC operation after ADC continouous mode
After enabling and disabling ADC continuous mode via sysfs, ts_print_raw
fails to return any data. This is because when ADC is configured for
continuous mode, it disables touch screen steps.These steps are not
re-enabled when ADC continuous mode is disabled. Therefore existing values
of REG_SE needs to be cached before enabling continuous mode and
disabling touch screen steps and enabling ADC steps. The cached value
are to be restored to REG_SE once ADC is disabled.
Fixes: 7ca6740cd1cd ("mfd: input: iio: ti_amm335x: Rework TSC/ADC synchronization")
Cc: stable@vger.kernel.org # v3.13+
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rn5t618.c')
0 files changed, 0 insertions, 0 deletions