]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9961809be71658bdd313131d81afa0d824854748
treece312eaf2287e848315fce699899c604fb6f4a5a
parent11b2fc34e55dc9938ee25f78b9b71d161c6916f5
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