From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Thu, 01 Nov 2012 00:22:33 +0000 Subject: Re: [PATCH] sh: clkfwk: bugfix: sh_clk_div_enable() care sh_clk_div_set_rate() if div6 Message-Id: <20121101002233.GC24257@linux-sh.org> List-Id: References: <87pq45mxd9.wl%kuninori.morimoto.gx@renesas.com> In-Reply-To: <87pq45mxd9.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Wed, Oct 31, 2012 at 12:01:03AM -0700, Kuninori Morimoto wrote: > > Hi Paul > > > > 764f4e4e33d18cde4dcaf8a0d860b749c6d6d08b > > > (sh: clkfwk: Use shared sh_clk_div_enable/disable()) > > > shared enable/disable funcions for div4/div6. > > > But new sh_clk_div_enable() didn't care sh_clk_div_set_rate() > > > which is required on div6 clock. > > > This patch fixes it, and is tested by HDMI sound output on armadillo800eva > > > > > > Reported-by: Cao Minh Hiep > > > Signed-off-by: Kuninori Morimoto > > > > Looks good, I'll queue it up, thanks. > > Thanks. > But which branch can I find it ? > I have it on my laptop and haven't had a chance to push it yet. Now that I think about it though, I'm not sure that CLK_MASK_DIV_ON_DISABLE should be depended on. If you require this to only apply for div6 you are better off checking the div mask directly (ie, testing SH_CLK_DIV6_MSK).