On Mon, Apr 02, 2012 at 11:01:48AM +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'. > > [ [email protected] : make it actually compile ] > > commit: 637b78eb31e0b167ed913f1750bb645dfeda38f0 > > kernel version: 3.0, 3.2, 3.3 > > Cc: [email protected] > Signed-off-by: Felipe Balbi <[email protected]> > Signed-off-by: Tomoya MORINAGA <[email protected]> > --- > v2: > Retrieve cc-/Signed-off lists. > --- > drivers/usb/gadget/pch_udc.c | 87 > ++++++++++++++++++++++++++++++++++++++++-- > 1 files changed, 83 insertions(+), 4 deletions(-)
This doesn't look like it is stable material, does it? greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
