From 61cf7aff6800632480741226a3171cd3ee305825 Mon Sep 17 00:00:00 2001 From: Douglas Anderson Date: Tue, 12 Apr 2016 13:55:37 -0700 Subject: [PATCH] HACK: clk: rockchip: rk3399: Mark the PWM clock as critical Until we get all the magic PWM regulator stuff solved with Boris's wonderful upstream patches, let's just hack the PWM clock to be critical so it never turns off. Nuff said. Change-Id: I99660b0b188413eb08030a3ae87c045c338b30db Signed-off-by: Douglas Anderson Reviewed-on: https://chrome-internal-review.googlesource.com/254649 Reviewed-by: Stephen Barber Tested-by: Doug Anderson Signed-off-by: Caesar Wang (Fixes the pclk_rkpwm_pmu into pmucru_critical_clock) --- drivers/clk/rockchip/clk-rk3399.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index ff549297ba34..f837528d16f6 100644 --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c @@ -1522,6 +1522,7 @@ static const char *const rk3399_pmucru_critical_clocks[] __initconst = { "pclk_pmu_src", "fclk_cm0s_src_pmu", "clk_timer_src_pmu", + "pclk_rkpwm_pmu", }; static void __init rk3399_clk_init(struct device_node *np) -- 2.34.1