From: Ming Lei Date: Tue, 21 Dec 2010 13:16:11 +0000 (+0800) Subject: usb: musb: fix kernel panic during s2ram(v2) X-Git-Tag: v2.6.38-rc5~47^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=456bb1697ec08c034449c81e03094fe26bedb9e9;p=pandora-kernel.git 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 Cc: Sergei Shtylyov Signed-off-by: Ming Lei Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed