From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Fri, 27 Jan 2017 11:03:56 +0100 Subject: [PATCH 1/2] clk: sunxi-ng: Call divider_round_rate if we only have a single parent In-Reply-To: References: <53c56d23af099d8a41460d5ac59a2c792c8d050c.1485250845.git-series.maxime.ripard@free-electrons.com> <20170127001250.GQ8801@codeaurora.org> Message-ID: <20170127100356.leltnpslzjuhzjwc@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jan 27, 2017 at 11:30:05AM +0800, Chen-Yu Tsai wrote: > On Fri, Jan 27, 2017 at 8:12 AM, Stephen Boyd wrote: > > On 01/24, Maxime Ripard wrote: > >> The divider_get_val function that is used in our determine_rate callback > >> doesn't try to change the parent rate at all, while clk_divider_bestdiv, > >> used in divider_round_rate, does. > >> > >> If we have a single parent, call divider_round_rate. > > I guess my "clk: sunxi-ng: mux: Get closest parent rate possible with > CLK_SET_RATE_PARENT" patch somewhat takes care of the multi-parent > case? It looks like it does yes :) > Still, the underlying clock type doesn't get to specify what > is considers to be the best parent rate. > > >> Signed-off-by: Maxime Ripard > >> --- > > > > Acked-by: Stephen Boyd > > Acked-by: Chen-Yu Tsai Merged the two patches with Stephen and your Acked-bY. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: