All of lore.kernel.org
 help / color / mirror / Atom feed
* "usb: gadget: pch_udc: Detecting VBUS through GPIO with interrupt" breaks sparc
@ 2012-03-02 22:01 Paul Gortmaker
  2012-03-02 23:41 ` Stephen Rothwell
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Gortmaker @ 2012-03-02 22:01 UTC (permalink / raw)
  To: tomoya.rohm, Felipe Balbi; +Cc: linux-next

This commit:

---------------
commit 637b78eb31e0b167ed913f1750bb645dfeda38f0
Author: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Date:   Fri Feb 3 16:14:18 2012 +0900

    usb: gadget: pch_udc: Detecting VBUS through GPIO with interrupt
    
    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'.
    
    [ balbi@ti.com : make it actually compile ]
    
    Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
    Signed-off-by: Felipe Balbi <balbi@ti.com>
---------------

breaks the sparc builds in next:

http://kisskb.ellerman.id.au/kisskb/buildresult/5771890/
http://kisskb.ellerman.id.au/kisskb/buildresult/5771905/

Thanks,
Paul.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-03-07  0:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 22:01 "usb: gadget: pch_udc: Detecting VBUS through GPIO with interrupt" breaks sparc Paul Gortmaker
2012-03-02 23:41 ` Stephen Rothwell
2012-03-05 16:43   ` Greg KH
2012-03-06  0:07     ` Tomoya MORINAGA
2012-03-06  2:35       ` [PATCH][linux-next] usb/gadget/pch_udc: Fix compile error Tomoya MORINAGA
2012-03-06  2:49     ` [PATCH][linux-next][RESEND] " Tomoya MORINAGA
2012-03-06  6:39       ` Tomoya MORINAGA
2012-03-06 14:58         ` Greg Kroah-Hartman
2012-03-07  0:44           ` Tomoya MORINAGA

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.