mfd: ti_am335x_tscadc: Restore clock divider on resume
commite90f875419967589d75d1a3e2b89c5f2720e794e
authorMatthias Kaehlcke <matthias.list@kaehlcke.net>
Mon, 23 Sep 2013 20:43:29 +0000 (23 22:43 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:14 +0000 (23 16:21 +0100)
treee4b447602c1c50dd363e122915a7b68de4f34fa5
parent60013b94d9530346db963474f7fde8aecabaff25
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>
drivers/mfd/ti_am335x_tscadc.c
include/linux/mfd/ti_am335x_tscadc.h