summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/dw_apb_timer.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-06-09 11:40:40 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-07-16 00:52:37 +0200
commitb02180e899c9e04ba6efda7bdf36d9ad028c9f4f (patch)
treec28e858f2901853857f746335acfcbf3206c51cd /drivers/clocksource/dw_apb_timer.c
parentclocksource/drivers/timer-microchip-pit64b: Remove suspend/resume ops for ce (diff)
downloadlinux-b02180e899c9e04ba6efda7bdf36d9ad028c9f4f.tar.xz
linux-b02180e899c9e04ba6efda7bdf36d9ad028c9f4f.zip
clocksource/drivers/timer-microchip-pit64b: Use mchp_pit64b_{suspend, resume}
Use mchp_pit64b_suspend() and mchp_pit64b_resume() to disable or enable timers clocks on init and remove specific clk_prepare_{disable, enable} calls. This is ok also for clockevent timer as proper clock enable, disable is done on .set_state_oneshot, .set_state_periodic, .set_state_shutdown calls. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220609094041.1796372-3-claudiu.beznea@microchip.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/dw_apb_timer.c')
0 files changed, 0 insertions, 0 deletions