Re: [RFC 1/2] USB: OTG: Hold wakeupsource when VBUS present

From: Todd Poynor
Date: Tue Sep 02 2014 - 20:32:08 EST


On Fri, Aug 29, 2014 at 1:50 PM, Felipe Balbi <balbi@xxxxxx> wrote:
> Hi,
>
> On Wed, Aug 27, 2014 at 02:58:30PM -0700, Todd Poynor wrote:
>> On Fri, Aug 22, 2014 at 10:12 AM, Felipe Balbi <balbi@xxxxxx> wrote:
>> ...
>> > you never explain why this is needed and you have also added some
>> > information to commit log which shouldn't be here.
>>
>> Android uses this to prevent suspend from interfering with USB
>> peripheral traffic, notably adb.
>
> aaaaah, that's because Android freezes userspace right ?

Yes, and only wakeup interrupts will be enabled; it is a suspend-to-RAM.


Todd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/