Re: [PATCH v4 1/7] clk: actions: Fix factor clk struct member access

2019-09-17 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2019-09-16 08:45:40) > Since the helper "owl_factor_helper_round_rate" is shared between factor > and composite clocks, using the factor clk specific helper function > like "hw_to_owl_factor" to access its members will create issues when > called from composite clk

Re: [PATCH v4 1/7] clk: actions: Fix factor clk struct member access

2019-09-17 Thread Manivannan Sadhasivam
On Tue, Sep 17, 2019 at 09:34:18AM -0700, Stephen Boyd wrote: > Quoting Manivannan Sadhasivam (2019-09-16 08:45:40) > > Since the helper "owl_factor_helper_round_rate" is shared between factor > > and composite clocks, using the factor clk specific helper function > > like "hw_to_owl_factor" to

Re: [PATCH v4 1/7] clk: actions: Fix factor clk struct member access

2019-09-17 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2019-09-16 08:45:40) > Since the helper "owl_factor_helper_round_rate" is shared between factor > and composite clocks, using the factor clk specific helper function > like "hw_to_owl_factor" to access its members will create issues when > called from composite clk

[PATCH v4 1/7] clk: actions: Fix factor clk struct member access

2019-09-16 Thread Manivannan Sadhasivam
Since the helper "owl_factor_helper_round_rate" is shared between factor and composite clocks, using the factor clk specific helper function like "hw_to_owl_factor" to access its members will create issues when called from composite clk specific code. Hence, pass the "factor_hw" struct pointer