imx: Check for NULL pointer deref before calling tty_encode_baud_rate
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 16 Jun 2009 16:02:15 +0000 (17:02 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Jun 2009 19:01:17 +0000 (12:01 -0700)
commit1a2c4b3147ac0645605d6def2855478861d9361b
tree1efe2b21ce9356f7a0427f18b6ba910ca4134232
parent0ccad87012c6c2e7446e4dc0f0894cf182a5270a
imx: Check for NULL pointer deref before calling tty_encode_baud_rate

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/imx.c