OSDN Git Service

clk: msm: clock: Add the non_local_control setting for video clocks
authorDeepak Katragadda <dkatraga@codeaurora.org>
Fri, 8 Apr 2016 18:53:43 +0000 (11:53 -0700)
committerKyle Yan <kyan@codeaurora.org>
Fri, 27 May 2016 21:51:49 +0000 (14:51 -0700)
The video subcore RCGs should be force enabled during rate
scaling to workaround video firmware potentially disabling
the branch clock at the same time on MSMCOBALT.

CRs-Fixed: 1020896
Change-Id: I45a119591efc36fa05ee7009d938e596b015e70c
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
drivers/clk/msm/clock-mmss-cobalt.c

index c060e0b..d141721 100644 (file)
@@ -737,6 +737,7 @@ static struct rcg_clk video_subcore0_clk_src = {
        .set_rate = set_rate_hid,
        .freq_tbl = ftbl_video_subcore_clk_src,
        .current_freq = &rcg_dummy_freq,
+       .non_local_control_timeout = 1000,
        .base = &virt_base,
        .c = {
                .dbg_name = "video_subcore0_clk_src",
@@ -752,6 +753,7 @@ static struct rcg_clk video_subcore1_clk_src = {
        .set_rate = set_rate_hid,
        .freq_tbl = ftbl_video_subcore_clk_src,
        .current_freq = &rcg_dummy_freq,
+       .non_local_control_timeout = 1000,
        .base = &virt_base,
        .c = {
                .dbg_name = "video_subcore1_clk_src",