clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit
authorTomasz Figa <tomasz.figa@gmail.com>
Mon, 17 Jun 2013 00:10:24 +0000 (02:10 +0200)
committerTomasz Figa <tomasz.figa@gmail.com>
Mon, 5 Aug 2013 23:21:41 +0000 (01:21 +0200)
commitceea124103c6f00561491b45133be5ccefc8ea1d
tree1e6dbd59c3f6e82d6337567de108c9a64dc8cb2d
parente24154896e2f60b0c20bda492d662ad77ffa5c32
clocksource: samsung_pwm_timer: Correct definition of AUTORELOAD bit

PWM channel 4 has its autoreload bit located at different position. This
patch fixes the driver to account for that.

This fixes a problem with the clocksource hanging after it overflows because
it is not reloaded any more.

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>
drivers/clocksource/samsung_pwm_timer.c
This page took 0.027945 seconds and 5 git commands to generate.