summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_ldisc.c
diff options
context:
space:
mode:
authorCousson, Benoit <b-cousson@ti.com>2012-02-28 18:22:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 10:56:44 -0800
commita5f43138da9beddc46b00ec31d167143a7176683 (patch)
tree077fe6f2ed1070ba9c82f268777553822d930074 /drivers/tty/tty_ldisc.c
parent079c9534a96da9a85a2a2f9715851050fbfbf749 (diff)
tty: serial: OMAP: Fix oops due to NULL pdata in DT boot
The following commit: be4b0281956c5cae4f63f31f11d07625a6988766 (tty: serial: OMAP: block idle while the UART is transferring data in PIO mode), is introducing an oops if OMAP is booted using device tree blob because the pdata will not be initialized. Check if pdata is set before de-referencing it. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Reviewed-by: Paul Walmsley <paul@pwsan.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions