[PATCH V2] serial: imx: enable the clocks only when the uart is used

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Jun 8 04:15:14 EDT 2013


On Sat, Jun 08, 2013 at 02:22:39PM +0800, Huang Shijie wrote:
> 于 2013年06月08日 14:01, Shawn Guo 写道:
>> Running linux-next 20130607, I just found that the serial console stops
>> working due to this patch.  I think the clocks need to be enabled for
>> console as well.
> could you tell me the board?
> i tested on imx6q-sabreauto boards, the console is ok.

Take a look at amba-pl011.c to see how to deal with the console and clk API
correctly in serial drivers.



More information about the linux-arm-kernel mailing list