[PATCH] ARM: imx35: don't disable the uart clock when DEBUG_LL is in use

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Jul 31 14:32:06 EDT 2012


Hello Sascha,

On Tue, Jul 31, 2012 at 07:43:58PM +0200, Sascha Hauer wrote:
> On Tue, Jul 31, 2012 at 03:44:39PM +0200, Uwe Kleine-König wrote:
> > Otherwise printch et al. and printk with earlyprintk and keep_bootcon
> > becomes unfunctional when the clk framework disables all unused clocks.
> 
> Why don't you use the regular console? Letting the clock framework
> disable the clocks was pretty much intentional.
I don't question that disabling unused clocks is sensible. But usually
if you enable DEBUG_LL you want to use it even after the clock framework
disabled all (apparently) unused clocks. And in my case the regular
console didn't work yet and so I relied on earlyprintk.
Even if the problem proved to be the result of my stupidity this patch
asserts that earlyprintk just works as it should be for debug aids.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list