clocksource/drivers/timer-npcm7xx: Enable timer 1 clock before use
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 4 Nov 2022 16:18:46 +0000 (17:18 +0100)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Fri, 2 Dec 2022 11:48:28 +0000 (12:48 +0100)
commitdb78539fc95cf62b0b8f274368fcd8202eac91f9
tree99f718859b6254661dfed6e79b87836c6002f78e
parentaa3f72ea9410f8c9394a5d25bbf40a4cfb56f5a0
clocksource/drivers/timer-npcm7xx: Enable timer 1 clock before use

In the WPCM450 SoC, the clocks for each timer can be gated individually.
To prevent the timer 1 clock from being gated, enable it explicitly.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221104161850.2889894-3-j.neuschaefer@gmx.net
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/clocksource/timer-npcm7xx.c