aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-07-31 02:01:40 -0400
committerLi Jun <B47624@freescale.com>2014-08-01 04:13:30 -0400
commit24f2a0187a52bfad75212a7b6a2cd107bde0d183 (patch)
tree1e2cd8f0483b461983eb6660bf5fc792241ffaaf /mm
parent5762c7ac48745d41c64aac483ce3070e10a4306c (diff)
ENGR00325203 usb: chipidea: host: check if ci->hcd initialized before access it
When ci core driver enable runtime pm in probe, it's possible runtime suspend will be started before otg fsm queue work get to run, in this case, host has not been started yet so ci->hcd is NULL, but suspend routine will access it for save ehci registers, which result in kernle panic, this patch adds pointer valid check. Signed-off-by: Li Jun <b47624@freescale.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions