diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-06-16 23:11:31 (GMT) |
---|---|---|
committer | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-05 23:21:43 (GMT) |
commit | 0b96258b420208ebaacc0ef4b21b67dba262badf (patch) | |
tree | 89bdeebfcbadacdfe614df5c998de38321f03163 /crypto/xts.c | |
parent | 6792e636d5bfc1b26c25e7ed056b358e1144c6df (diff) | |
download | linux-fsl-qoriq-0b96258b420208ebaacc0ef4b21b67dba262badf.tar.xz |
clocksource: samsung_pwm_timer: Handle suspend/resume correctly
Current suspend/resume handling of the driver was broken, because:
- periodic timer was being enabled in CLOCK_EVT_MODE_RESUME mode, which
does not seem to be correct behavior looking at other platforms,
- PWM divisors need to be restored, but they were not,
- clockevent interrupt mask needs to be restored, but it was not,
- clocksource was being restored in clockevent resume callback.
This patch fixes issues mentioned above, making suspend/resume handling
in the driver correct.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Mark Brown <broonie@linaro.org>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions