Re: Fwd: composite device fails to reset "suspended" flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Minas,

On Tue, Feb 5, 2019 at 5:22 AM Minas Harutyunyan
<minas.harutyunyan@xxxxxxxxxxxx> wrote:
> Could you please try patch submitted by me today:"[PATCH] usb: dwc2:
> gadget: Consider VBUS discharge time in disconnect flow"

I should be able to try it tonight or tomorrow to see if it makes the
driver recognize a cable disconnect.  However, looking at the patch it
is doing by default a 1 second busy wait in interrupt context.  My
understanding is that is a highly discouraged practice, on a single
core machine it would freeze the entire machine for a full second.
Can the disconnect handling be done in a tasklet?

-- 
Frank



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux