2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +08:00
linux-next/drivers/usb/chipidea
Fabio Estevam 046916de11 usb: chipidea: ci_hdrc_imx: access phy via private data
commit ea1418b5f1 (usb: chipidea: i.MX: use devm_usb_get_phy_by_phandle to get
phy) causes the USB host to miss the disconnect/connect events.

In order to reproduce this problem:

- Insert a USB thumb into the USB host port (connection is detected)
- Remove it (no disconnect event will be reported)
- Insert the USB thumb again (connection is not detected)

Fix this problem by accessing the usb_phy structure using the private data
instead of accessing a local structure.

Tested on a mx28evk board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-25 16:41:06 -07:00
..
bits.h usb: chipidea: add PTW, PTS and STS handling 2013-06-17 13:47:09 -07:00
ci_hdrc_imx.c usb: chipidea: ci_hdrc_imx: access phy via private data 2013-06-25 16:41:06 -07:00
ci_hdrc_imx.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_msm.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_pci.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
core.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
Kconfig usb: chipidea: improve kconfig 2013-06-17 13:45:46 -07:00
Makefile usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
udc.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
udc.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
usbmisc_imx.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00