diff options
author | Ming Lei <tom.leiming@gmail.com> | 2010-12-21 21:16:11 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-01 10:41:29 +0200 |
commit | 456bb1697ec08c034449c81e03094fe26bedb9e9 (patch) | |
tree | 0a227e117c95e21a6ca528bcfefa58281af7bffe /fs | |
parent | ebf53826e105f488f4f628703a108e98940d1dc5 (diff) | |
download | blackbird-op-linux-456bb1697ec08c034449c81e03094fe26bedb9e9.tar.gz blackbird-op-linux-456bb1697ec08c034449c81e03094fe26bedb9e9.zip |
usb: musb: fix kernel panic during s2ram(v2)
This patch fixes kernel panic during s2ram, which is caused
by the below:
- musb is not put into drv data of musb platform device if
CONFIG_USB_MUSB_HDRC_HCD is defined
- glue layer driver always get musb instance via platform_get_drvdata.
The patch fixes the issue by always puting musb into drv data
of musb platform device, which is doable even the platform device
is a host controller device.
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions