aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMatthias Kaehlcke <matthias.list@kaehlcke.net>2013-09-23 16:43:29 -0400
committerLee Jones <lee.jones@linaro.org>2013-10-23 11:21:14 -0400
commite90f875419967589d75d1a3e2b89c5f2720e794e (patch)
treee4b447602c1c50dd363e122915a7b68de4f34fa5 /include/linux
parent60013b94d9530346db963474f7fde8aecabaff25 (diff)
mfd: ti_am335x_tscadc: Restore clock divider on resume
The ADC clock divider needs to be restored on resume as the register content is lost when the ADC is powered down Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/ti_am335x_tscadc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h
index 4befdb85dd9c..7b68a061cd60 100644
--- a/include/linux/mfd/ti_am335x_tscadc.h
+++ b/include/linux/mfd/ti_am335x_tscadc.h
@@ -151,6 +151,7 @@ struct ti_tscadc_dev {
151 struct mfd_cell cells[TSCADC_CELLS]; 151 struct mfd_cell cells[TSCADC_CELLS];
152 u32 reg_se_cache; 152 u32 reg_se_cache;
153 spinlock_t reg_lock; 153 spinlock_t reg_lock;
154 unsigned int clk_div;
154 155
155 /* tsc device */ 156 /* tsc device */
156 struct titsc *tsc; 157 struct titsc *tsc;