[PATCH v2 05/12] OMAP: Serial: Hold console lock for console usage.

Tony Lindgren tony at atomide.com
Wed May 4 06:02:33 EDT 2011


* Govindraj.R <govindraj.raja at ti.com> [110429 05:39]:
>
> Also during bootup console_lock is not available.
>        --> uart_add_one_port
> 	   --> console_register
> 	       --> console_lock
> 	        --> console_unlock
> 	             --> call_console_drivers (here yet console_lock is not released)
> 		          --> uart_console_write
> 
> Hence convert prints from omap_device_enable/disable to pr_debug.

This sounds like a hack considering we have things working with
pr_debug currently.

Tony



More information about the linux-arm-kernel mailing list