]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00169433 IMX/UART : fix a bug in UART RX
authorHuang Shijie <b32955@freescale.com>
Mon, 5 Dec 2011 10:53:47 +0000 (18:53 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:13 +0000 (14:10 +0200)
commitd2967703c47bdcc9fa58b9895d7dcab1c31f74ec
tree0b1bfd59af7a1dc71b140b8cf18ed2f982476ef8
parentcaa06f6d143ae30208a9e2707be0fd4659d79534
ENGR00169433 IMX/UART : fix a bug in UART RX

The origin code did not check the running situation.
It will cause a NULL pointer issue.

This patch fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/tty/serial/imx.c