Hi Greg, OK, you are right. According to stable kernel rules, any patch for stable must be less than 100 lines.
Is there any way pushing this patch to stable kernel ? thanks, tomoya On Fri, Apr 20, 2012 at 3:07 AM, Greg KH <[email protected]> wrote: > On Mon, Apr 02, 2012 at 11:01:47AM +0900, Tomoya MORINAGA wrote: >> Problem: >> In USB Suspend, pch_udc handles 'disconnect'. >> >> Root cause: >> The current pch_udc is not monitoring VBUS. >> When USB cable is disconnected, USB Device Controller generates >> an interrupt of USB Suspend. >> pch_udc cannot distinguish it is USB Suspend or disconnect. >> Therefore, pch_udc handles 'disconnect' after an interrupt of >> USB Suspend happend. >> >> Solution: >> VBUS is detected through GPIO. >> After an interrupt produced USB Suspend, if VBUS is Low, >> pch_udc handles 'disconnect'. >> If VBUS is High, pch_udc handles 'suspend'. >> >> commit: dd63180b758d5972fc90621af0741d5bfae1a684 >> >> 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 | 145 >> +++++++++++++++++++++++++++++++++++++++++- >> 1 files changed, 142 insertions(+), 3 deletions(-) > > This seems too big for a stable patch, right? > > greg k-h -- ROHM Co., Ltd. tomoya -- 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
