]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/timer-microchip-pit64b: Remove suspend/resume ops for ce
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 9 Jun 2022 09:40:39 +0000 (12:40 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 15 Jul 2022 22:52:31 +0000 (00:52 +0200)
commitb8723912f4c359329baf82827db6e79921a8d423
treeb00d9aedd94d5ab44d2fd23c6fd05994d32fa838
parent7c29c4e1099270174c74c88616926a2414e9f5a3
clocksource/drivers/timer-microchip-pit64b: Remove suspend/resume ops for ce

Remove suspend and resume ops for clockevent and add set_state_oneshot()
instead. Along with this mchp_pit64b_{suspend, resume}() were called on
proper function to disable/enable clocks. This will allow disabling clocks
for clockevent in case it is not selected as active clockevent.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220609094041.1796372-2-claudiu.beznea@microchip.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-microchip-pit64b.c