Re: [patch 2.6.28-rc2] atmel_serial: keep clock off when it's not needed

From: David Brownell
Date: Tue Oct 28 2008 - 16:21:03 EST


On Tuesday 28 October 2008, Andrew Victor wrote:
> hi David,
>
> > I verified it on AT91, where the console is normally DBGU and the
> > other USARTs do get an open().
>
> The DBGU is part of the system peripherals, which are clocked from MCK
> and which is always enabled.

Exactly.


> Therefore I don't think this is a valid test-case.

Not for the oddball case Haavard mentioned, no: the console port
being something the boot loader wasn't using, which couldn't show
the early boot messages (before console setup) in any case. Those
kinds of systems aren't especially debuggable (it's JTAG or nothing).

I don't have any issue with getting that fixed too ... but unless
someone has a platform that relies on that case (or can be made to
do so, for testing), then it's hard for me to worry about it!

- Dave


>
> Regards,
> Andrew Victor
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/