diff options
author | Matthias Kaehlcke <matthias.list@kaehlcke.net> | 2013-09-24 00:43:29 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 19:21:14 +0400 |
commit | e90f875419967589d75d1a3e2b89c5f2720e794e (patch) | |
tree | e4b447602c1c50dd363e122915a7b68de4f34fa5 /include/linux/mfd/ti_am335x_tscadc.h | |
parent | 60013b94d9530346db963474f7fde8aecabaff25 (diff) | |
download | linux-e90f875419967589d75d1a3e2b89c5f2720e794e.tar.xz |
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/mfd/ti_am335x_tscadc.h')
-rw-r--r-- | include/linux/mfd/ti_am335x_tscadc.h | 1 |
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 { struct mfd_cell cells[TSCADC_CELLS]; u32 reg_se_cache; spinlock_t reg_lock; + unsigned int clk_div; /* tsc device */ struct titsc *tsc; |