Re: [PATCH v2] usb: dwc3: gadget: clear gadget pointer after exit

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

 



On Thu, Sep 09, 2021 at 05:32:32PM +0800, Linyu Yuan wrote:
> when do role switch from device to host mode,
> first disable device mode, currently there is no better way to
> confirm when gadget was complete removed.
> 
> change device release function to clear gadget pointer,
> this will confirm device stop complete when it is NULL.

Where is this check happening?  If there is nothing in the tree today
that checks for this, why is this needed?

Does this fix a specific commit in the past?  If so, what one?

thanks,

greg k-h



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

  Powered by Linux