HACK: clk: rockchip: rk3399: Mark the PWM clock as critical
authorDouglas Anderson <dianders@chromium.org>
Tue, 12 Apr 2016 20:55:37 +0000 (13:55 -0700)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 14 Apr 2016 11:26:01 +0000 (19:26 +0800)
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 <dianders@chromium.org>
Reviewed-on: https://chrome-internal-review.googlesource.com/254649
Reviewed-by: Stephen Barber <smbarber@google.com>
Tested-by: Doug Anderson <dianders@google.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
(Fixes the pclk_rkpwm_pmu into pmucru_critical_clock)

drivers/clk/rockchip/clk-rk3399.c

index ff549297ba34277297eab4ee5b362b1c53d5cb46..f837528d16f67ab35e449eac1af103d1a7c982b2 100644 (file)
@@ -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)