]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 27 Apr 2020 17:28:31 +0000 (22:58 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 22 May 2020 22:02:05 +0000 (00:02 +0200)
commitf98fbd6712cec685ca93788d109c1b60d803ca0a
tree7f186dc16db89c91a3917162f644ec2af177023d
parent1400924a058e333ed0b6ee659f356909649c28d7
clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

omap_dm_timer_prepare() is setting up the parent 32KHz clock. This
prepare() gets called by request_timer in the client's driver. Because of
this, the timer clock parent that is set with assigned-clock-parent is being
overwritten. So drop this default setting of parent in prepare().

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200427172831.16546-1-lokeshvutla@ti.com
drivers/clocksource/timer-ti-dm.c