lkml.org 
[lkml]   [2020]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 4/7] usb: bdc: Adb shows offline after resuming from S2
From
Date
On 7/21/20 7:43 AM, Al Cooper wrote:
> On Android systems, After temporarily putting device to S2 by
> short pressing the power button on the remote, the display turns
> off. Then press the power button to turn the display back up. Adb
> devices would show the devices is offline. It needs a physical
> disconnect of the usb cable or power cycle to bring the device
> back online. The device is operational otherwise.
>
> The problem is that during S2 resume, the ADB gadget driver could
> not link back with the BDC driver because the endpoint flags were
> cleared. The fix is to clear the endpoint flags for the disconnect
> case only and not for S2 exit.
>
> Signed-off-by: Al Cooper <alcooperx@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian

\
 
 \ /
  Last update: 2020-07-21 19:35    [W:0.133 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site