Loading drivers/clk/qcom/clock.c +3 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ static void vdd_class_init(struct clk_vdd_class *vdd) if (!vdd) return; if (vdd->skip_handoff) return; list_for_each_entry(v, &handoff_vdd_list, list) { if (v->vdd_class == vdd) return; Loading include/linux/clk/msm-clk-provider.h +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ static inline void clk_debug_print_hw(struct clk *clk, struct seq_file *f) {} regulator. Optional parameter. * @level_votes: array of votes for each level. * @num_levels: specifies the size of level_votes array. * @skip_handoff: do not vote for the max possible voltage during init * @cur_level: the currently set voltage level * @lock: lock to protect this struct */ Loading @@ -84,6 +85,7 @@ struct clk_vdd_class { int *vdd_ua; int *level_votes; int num_levels; bool skip_handoff; unsigned long cur_level; struct mutex lock; }; Loading Loading
drivers/clk/qcom/clock.c +3 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ static void vdd_class_init(struct clk_vdd_class *vdd) if (!vdd) return; if (vdd->skip_handoff) return; list_for_each_entry(v, &handoff_vdd_list, list) { if (v->vdd_class == vdd) return; Loading
include/linux/clk/msm-clk-provider.h +2 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ static inline void clk_debug_print_hw(struct clk *clk, struct seq_file *f) {} regulator. Optional parameter. * @level_votes: array of votes for each level. * @num_levels: specifies the size of level_votes array. * @skip_handoff: do not vote for the max possible voltage during init * @cur_level: the currently set voltage level * @lock: lock to protect this struct */ Loading @@ -84,6 +85,7 @@ struct clk_vdd_class { int *vdd_ua; int *level_votes; int num_levels; bool skip_handoff; unsigned long cur_level; struct mutex lock; }; Loading