summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rtsx_pcr.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-09-08 15:28:42 +0200
committerLee Jones <lee.jones@linaro.org>2014-09-26 08:23:51 +0100
commit6a71f38dd87f255a0586104ce2a14d5a3ddf3401 (patch)
tree499d632703a2fd5169458e32e1e94526f9e3b4b0 /drivers/mfd/rtsx_pcr.c
parent0b496b4c95c74ba795bc642a6092263ebf905759 (diff)
downloadtalos-op-linux-6a71f38dd87f255a0586104ce2a14d5a3ddf3401.tar.gz
talos-op-linux-6a71f38dd87f255a0586104ce2a14d5a3ddf3401.zip
mfd: ti_am335x_tscadc: Fix TSC resume
In the resume path, the ADC invokes am335x_tsc_se_set_cache() with 0 as the steps argument if continous mode is not in use. This in turn disables all steps and so the TSC is not working until one ADC sampling is performed. This patch fixes it by writing the current cached mask instead of the passed steps. Fixes: 7ca6740cd1cd ("mfd: input: iio: ti_amm335x: Rework TSC/ADCA synchronization") Cc: stable@vger.kernel.org # v3.13+ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud