OpenCloudOS-Kernel/drivers/usb/chipidea
Peter Chen 24c498df1c Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start"
This reverts commit 14b4099c07

It moved platform_set_drvdata(pdev, ci) before hcd is created,
and the hcd will assign itself as ci controller's drvdata during
the hcd creation function (in usb_create_shared_hcd), so it
overwrites the real ci's drvdata which we want to use.

So, if the controller is at host mode, the system suspend
API will get the wrong struct ci_hdrc pointer, and cause the
oops.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-09 09:45:30 -08:00
..
Kconfig usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA 2013-09-25 17:30:39 -07:00
Makefile usb: chipidea: add a usb2 driver for ci13xxx 2014-11-26 09:28:13 -08:00
bits.h usb: chipidea: OTG fsm timers initialization 2014-04-24 12:56:35 -07:00
ci.h usb: chipidea: parameter 'mode' isn't needed for hw_device_reset 2014-11-26 09:28:12 -08:00
ci_hdrc_imx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ci_hdrc_imx.h chipidea: usbmisc_imx: Add USB support for VF610 SoCs 2014-09-23 21:32:30 -07:00
ci_hdrc_msm.c usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER 2014-11-26 09:28:12 -08:00
ci_hdrc_pci.c usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 10:22:52 -08:00
ci_hdrc_usb2.c usb: chipidea: fix platform_no_drv_owner.cocci warnings 2014-11-26 11:47:43 -08:00
ci_hdrc_zevio.c usb: chipidea: drop owner assignment from platform_drivers 2014-10-20 16:21:47 +02:00
core.c Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start" 2015-01-09 09:45:30 -08:00
debug.c usb: allow to supply the PHY in the drivers when using HCD 2014-11-03 10:02:50 -06:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start" 2015-01-09 09:45:30 -08:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
otg.c usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07:00
otg.h usb: chipidea: using one inline function to cover queue work operations 2014-05-23 11:35:02 +09:00
otg_fsm.c usb: chipidea: Fixed a few typos in comments 2014-11-26 09:28:13 -08:00
otg_fsm.h usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07:00
udc.c usb: chipidea: parameter 'mode' isn't needed for hw_device_reset 2014-11-26 09:28:12 -08:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00