diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-12-19 16:28:30 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-07 09:42:38 +0100 |
commit | 3954b7bfc665fed878cabe57342bae34d2391478 (patch) | |
tree | f5b7dc9cdcac9bf3268e87e619f6e3a1dac019a1 /drivers/mfd/ti_am335x_tscadc.c | |
parent | mfd: ti_am335x_tscadc: Don't read back REG_SE (diff) | |
download | linux-3954b7bfc665fed878cabe57342bae34d2391478.tar.xz linux-3954b7bfc665fed878cabe57342bae34d2391478.zip |
mfd: ti_am335x: Drop am335x_tsc_se_update() from resume path
The update of the SE register in MFD doesn't look right as it has
nothing to do with it. The better place to do it is in TSC driver (which
is already doing it) and in the ADC driver which needs this only in the
continues mode.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ti_am335x_tscadc.c')
-rw-r--r-- | drivers/mfd/ti_am335x_tscadc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index cb0c211fc7d8..157f5699a33c 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c @@ -309,7 +309,6 @@ static int tscadc_resume(struct device *dev) if (tscadc_dev->tsc_cell != -1) tscadc_idle_config(tscadc_dev); - am335x_tsc_se_update(tscadc_dev); restore = tscadc_readl(tscadc_dev, REG_CTRL); tscadc_writel(tscadc_dev, REG_CTRL, (restore | CNTRLREG_TSCSSENB)); |