cpm_uart: Disable CPM udbg when re-initing CPM uart, even if not the console.
authorScott Wood <scottwood@freescale.com>
Fri, 3 Apr 2009 21:15:49 +0000 (16:15 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 6 Apr 2009 14:09:33 +0000 (09:09 -0500)
commit4d8107f474029167ae69862bf6b2c7273be757c7
treece312eaf2287e848315fce699899c604fb6f4a5a
parentbd86ef378412fc30282daf722a833f734e4e2236
cpm_uart: Disable CPM udbg when re-initing CPM uart, even if not the console.

Previously, if udbg was using the CPM uart, and the normal CPM uart driver
was enabled, but the console was directed elsewhere, udbg would not be
stopped prior to initialization.  This resulted in udbg hanging forever
waiting for the CPM to process a descriptor.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/serial/cpm_uart/cpm_uart_core.c