diff options
author | Tomasz Figa <[email protected]> | 2013-06-17 01:11:31 +0200 |
---|---|---|
committer | Tomasz Figa <[email protected]> | 2013-08-06 01:21:43 +0200 |
commit | 0b96258b420208ebaacc0ef4b21b67dba262badf (patch) | |
tree | 89bdeebfcbadacdfe614df5c998de38321f03163 /drivers/message/fusion/lsi/mpi_raid.h | |
parent | 6792e636d5bfc1b26c25e7ed056b358e1144c6df (diff) |
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 <[email protected]>
Reviewed-by: Sylwester Nawrocki <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Tested-by: Mark Brown <[email protected]>
Tested-by: Sylwester Nawrocki <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions