aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSekhar Nori <[email protected]>2015-07-14 13:32:03 +0530
committerGreg Kroah-Hartman <[email protected]>2015-07-23 15:24:11 -0700
commit727fd8ab7913421f3b60bcaaf31f1f5389c7cb5a (patch)
treebb25f3d120570244d673ed3dbb29fbeddef38890 /tools/perf/scripts/python
parent29d58642f1a090ad574d14872b610b365b2d023b (diff)
serial: 8250_omap: fix kernel crash in suspend-to-ram
omap_device infrastructure has a suspend_noirq hook which runtime suspends all devices late in the suspend cycle (see _od_suspend_noirq() in arch/arm/mach-omap2/omap_device.c) This leads to a NULL pointer exception in 8250_omap driver since by the time omap8250_runtime_suspend() is called, 8250_dma driver has already set rxchan to NULL via serial8250_release_dma(). Make an explicit check to see if rxchan is NULL in runtime_{suspend|resume} hooks to fix this. Signed-off-by: Sekhar Nori <[email protected]> Acked-by: Tony Lindgren <[email protected]> Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions