]> git.karo-electronics.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:34 +0000 (08:33 +0200)
commit3147ffeb5eb0ca510390f37d951236281951a4c9
tree0b1bfd59af7a1dc71b140b8cf18ed2f982476ef8
parentee41f9736316a07a9a92a6ae38910d2fa254ed38
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