From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.coquelin@st.com (Maxime Coquelin) Date: Wed, 7 May 2014 18:54:17 +0200 Subject: mx6qsabresd hangs on linux-next In-Reply-To: References: <20140506141310.GA2794@dragon> <5369081D.5030400@st.com> <20140506200029.GD5858@pengutronix.de> <20140507020950.GB2794@dragon> <20140507033223.GB2798@dragon> <5369EFA3.8070908@st.com> Message-ID: <536A6539.7010904@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Fabio, On 05/07/2014 04:39 PM, Fabio Estevam wrote: > Hi Maxime, > > On Wed, May 7, 2014 at 5:32 AM, Maxime Coquelin wrote: > >> You are right. Sorry for the regression. >> >> I thought I tested it, as I had some table-based dividers in my test setup. >> After checking again, it appears that I didn't had the CLK_SET_RATE_PARENT >> flag set on these clocks, so I didn't entered the for loop... >> >> Could the fix be to initialize "up" variable to INT_MAX in _round_up_table >> (see below)? > > This works fine for me: > > Tested-by: Fabio Estevam > >> I can send the patch if you are fine with it. >> I have no hardware to test on this week, I only have compiled this patch, >> not tested it. > > Please submit your patch, thanks. Thanks for testing it, patch sent. Regards, Maxime >