On Fri, Feb 03, 2012 at 04:14:18PM +0900, Tomoya MORINAGA wrote: > Problem: > pch_udc continues operation even if VBUS becomes Low. > pch_udc performs D+ pulling up before VBUS becomes High. > USB device should be controlled according to VBUS state. > > Root cause: > The current pch_udc is not always monitoring VBUS. > > Solution: > The change of VBUS is detected using an interrupt of GPIO. > If VBUS became Low, pch_udc handles 'disconnect'. > After VBUS became High, a pull improves D+, and pch_udc > handles 'connect'. > > Signed-off-by: Tomoya MORINAGA <tomoya.rohm@xxxxxxxxx> applied my fixed version thanks -- balbi
Attachment:
signature.asc
Description: Digital signature