Re: [PATCH 6/6] twl4030-usb: Don't report EVENT_ID when there is VBUS.

2012-04-25 Thread Grazvydas Ignotas
On Wed, Apr 25, 2012 at 10:33 AM, NeilBrown wrote: > Some USB chargers tie the ID pin low via various resistors. > So they can cause VBUS to be high and ID to be low. > > The 'A' end of an OTG cable never receives VBUS, it only ever generates it. > > So if we see VBUS and are not generating it, th

Re: [PATCH 6/6] twl4030-usb: Don't report EVENT_ID when there is VBUS.

2012-04-25 Thread NeilBrown
On Wed, 25 Apr 2012 11:05:27 +0300 Felipe Balbi wrote: > Hi, > > On Wed, Apr 25, 2012 at 05:33:11PM +1000, NeilBrown wrote: > > Some USB chargers tie the ID pin low via various resistors. > > So they can cause VBUS to be high and ID to be low. > > > > The 'A' end of an OTG cable never receives

Re: [PATCH 6/6] twl4030-usb: Don't report EVENT_ID when there is VBUS.

2012-04-25 Thread Felipe Balbi
Hi, On Wed, Apr 25, 2012 at 05:33:11PM +1000, NeilBrown wrote: > Some USB chargers tie the ID pin low via various resistors. > So they can cause VBUS to be high and ID to be low. > > The 'A' end of an OTG cable never receives VBUS, it only ever generates it. this isn't entirely true. Have you co

[PATCH 6/6] twl4030-usb: Don't report EVENT_ID when there is VBUS.

2012-04-25 Thread NeilBrown
Some USB chargers tie the ID pin low via various resistors. So they can cause VBUS to be high and ID to be low. The 'A' end of an OTG cable never receives VBUS, it only ever generates it. So if we see VBUS and are not generating it, this must be a charger, not the A end of an OTG cable, so in tha