Re: [PATCH] usb: musb: omap2430: handle charger OTG xceiver event

2011-07-15 Thread Felipe Balbi
Hi, On Tue, Jul 12, 2011 at 10:44:19AM -0700, Dima Zavin wrote: > On Mon, Jul 11, 2011 at 11:01 PM, Felipe Balbi wrote: > > Hi, > > > > On Mon, Jul 11, 2011 at 03:43:17PM -0700, Dima Zavin wrote: > >> Set a flag on OTG charger event and check it on cable > >> remove event (i.e. USB_EVENT_NONE). T

Re: [PATCH] usb: musb: omap2430: handle charger OTG xceiver event

2011-07-12 Thread Dima Zavin
On Mon, Jul 11, 2011 at 11:01 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 11, 2011 at 03:43:17PM -0700, Dima Zavin wrote: >> Set a flag on OTG charger event and check it on cable >> remove event (i.e. USB_EVENT_NONE). This way we will >> not need to power up the PHY when an external charger > >

Re: [PATCH] usb: musb: omap2430: handle charger OTG xceiver event

2011-07-11 Thread Felipe Balbi
Hi, On Mon, Jul 11, 2011 at 03:43:17PM -0700, Dima Zavin wrote: > Set a flag on OTG charger event and check it on cable > remove event (i.e. USB_EVENT_NONE). This way we will > not need to power up the PHY when an external charger s/PHY/LINK > is detected by the transceiver itself. ... your log

[PATCH] usb: musb: omap2430: handle charger OTG xceiver event

2011-07-11 Thread Dima Zavin
Set a flag on OTG charger event and check it on cable remove event (i.e. USB_EVENT_NONE). This way we will not need to power up the PHY when an external charger is detected by the transceiver itself. Signed-off-by: Dima Zavin --- drivers/usb/musb/musb_core.h |1 + drivers/usb/musb/omap2430.c