diff options
| author | Cousson, Benoit <[email protected]> | 2012-02-28 18:22:12 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-03-08 10:56:44 -0800 |
| commit | a5f43138da9beddc46b00ec31d167143a7176683 (patch) | |
| tree | 077fe6f2ed1070ba9c82f268777553822d930074 /tools/perf/scripts/python/bin | |
| parent | 079c9534a96da9a85a2a2f9715851050fbfbf749 (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 <[email protected]>
Reviewed-by: Paul Walmsley <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions