Re: [PATCH] chipidea: ci13xxx_imx: Access phy via private data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> writes:

> 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 <fabio.estevam@xxxxxxxxxxxxx>

Looks good, thanks. I'll send it to Greg in a bit, there's a conflict
with the mass renaming patch.

Regards,
--
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux