Re: [PATCH] clk: optimize the divider walk in clk_divider_bestdiv()

2016-01-29 Thread Stephen Boyd
On 01/05, Masahiro Yamada wrote: > Because _next_div() returns a valid divider, there is no need to > consult _is_valid_div() for the validity of the divider in every > iteration. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Co

[PATCH] clk: optimize the divider walk in clk_divider_bestdiv()

2016-01-04 Thread Masahiro Yamada
Because _next_div() returns a valid divider, there is no need to consult _is_valid_div() for the validity of the divider in every iteration. Signed-off-by: Masahiro Yamada --- drivers/clk/clk-divider.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-divi