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)
commit2c9c4c9e543de46a8031d5300e3036a3a89bad28
treeb00d9aedd94d5ab44d2fd23c6fd05994d32fa838
parent5b2ca9bc3f1bb1a65e8a2c636047ea51aaa924b1
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