cpm_uart: Fix cpm uart corruption with PREEMPT_RT
Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Also only take lock if not in an oops. Signed-off-by: NRune Torgersen <runet@innovsys.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
Showing
drivers/serial/cpm_uart/cpm_uart_core.c
100644 → 100755
想要评论请 注册 或 登录