From: Vignesh R Date: Mon, 1 Sep 2014 06:31:06 +0000 (+0530) Subject: mfd: ti_am335x_tscadc: Fix TSC operation after ADC continouous mode X-Git-Tag: fixes-against-v3.18-rc2~69^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac734d2242949f41eb1346ca0fd4ed010c937aa;p=pandora-kernel.git 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 Signed-off-by: Lee Jones --- Reading git-diff-tree failed