Loading Documentation/devicetree/bindings/arm/msm/clock-controller-v2.txt +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ General Optional Properties available to any Clock Subnode - qcom,always-on: Boolean. Enable a clock at boot, and leave it on all the time. Requires qcom,config-rate to be set. mmssnoc_axi: mmssnoc_axi { qcom,clk-flags = <0x1000>; Loading drivers/clk/qcom/clock.c +1 −1 Original line number Diff line number Diff line Loading @@ -777,7 +777,7 @@ static int __handoff_clk(struct clk *clk) if (clk->init_rate && clk_set_rate(clk, clk->init_rate)) pr_err("failed to set an init rate of %lu on %s\n", clk->init_rate, clk->dbg_name); if (clk->always_on && clk->init_rate && clk_prepare_enable(clk)) if (clk->always_on && clk_prepare_enable(clk)) pr_err("failed to enable always-on clock %s\n", clk->dbg_name); Loading drivers/clk/qcom/msm-clock-controller.c +4 −3 Original line number Diff line number Diff line Loading @@ -371,8 +371,11 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, { int rc; u32 temp; char *name = "qcom,config-rate"; char *name = "qcom,always-on"; c->always_on = of_property_read_bool(np, name); name = "qcom,config-rate"; /* This property is optional */ if (!of_find_property(np, name, NULL)) return 0; Loading @@ -384,8 +387,6 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, } c->init_rate = temp; name = "qcom,always-on"; c->always_on = of_property_read_bool(np, name); return rc; } Loading Loading
Documentation/devicetree/bindings/arm/msm/clock-controller-v2.txt +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ General Optional Properties available to any Clock Subnode - qcom,always-on: Boolean. Enable a clock at boot, and leave it on all the time. Requires qcom,config-rate to be set. mmssnoc_axi: mmssnoc_axi { qcom,clk-flags = <0x1000>; Loading
drivers/clk/qcom/clock.c +1 −1 Original line number Diff line number Diff line Loading @@ -777,7 +777,7 @@ static int __handoff_clk(struct clk *clk) if (clk->init_rate && clk_set_rate(clk, clk->init_rate)) pr_err("failed to set an init rate of %lu on %s\n", clk->init_rate, clk->dbg_name); if (clk->always_on && clk->init_rate && clk_prepare_enable(clk)) if (clk->always_on && clk_prepare_enable(clk)) pr_err("failed to enable always-on clock %s\n", clk->dbg_name); Loading
drivers/clk/qcom/msm-clock-controller.c +4 −3 Original line number Diff line number Diff line Loading @@ -371,8 +371,11 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, { int rc; u32 temp; char *name = "qcom,config-rate"; char *name = "qcom,always-on"; c->always_on = of_property_read_bool(np, name); name = "qcom,config-rate"; /* This property is optional */ if (!of_find_property(np, name, NULL)) return 0; Loading @@ -384,8 +387,6 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, } c->init_rate = temp; name = "qcom,always-on"; c->always_on = of_property_read_bool(np, name); return rc; } Loading