Skip to content

Commit

Permalink
clk: rockchip: also protect hclk_peri as critical
Browse files Browse the repository at this point in the history
The dwc2 usb controller also uses agressive clock gating, which in this
case leads to hclk_peri getting disabled and hanging the system.
Therefore move it to the critical clocks until we also control that
part of the system.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
  • Loading branch information
Heiko Stübner authored and Mike Turquette committed Sep 10, 2014
1 parent feaefa0 commit 2fed71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/rockchip/clk-rk3188.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ static struct rockchip_clk_branch rk3188_clk_branches[] __initdata = {
static const char *rk3188_critical_clocks[] __initconst = {
"aclk_cpu",
"aclk_peri",
"hclk_peri",
};

static void __init rk3188_common_clk_init(struct device_node *np)
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/rockchip/clk-rk3288.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
static const char *rk3288_critical_clocks[] __initconst = {
"aclk_cpu",
"aclk_peri",
"hclk_peri",
};

static void __init rk3288_clk_init(struct device_node *np)
Expand Down

0 comments on commit 2fed71e

Please sign in to comment.