From: Fabio Estevam Date: Tue, 25 Jun 2013 09:58:05 +0000 (+0300) Subject: usb: chipidea: ci_hdrc_imx: access phy via private data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=046916de1161baa02e29006df38bb09d66385291;p=pandora-kernel.git usb: chipidea: ci_hdrc_imx: access phy via private data commit ea1418b5f1a (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 Acked-by: Peter Chen Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed