Re: [PATCH] usbgadget: autostart: add usbgadget_autostart helper for board code

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

 



Hello Sascha,

On 16.08.22 09:57, Sascha Hauer wrote:
> The code is a bit hard to follow with the approach of starting the
> gadget exclusively from the setter function of global.usbgadget.autostart
> 
> Can we go with the following approach? It moves the starting of the usb
> gadget to a function that first checks if all prerequisites are
> fulfilled to start the gadget and then starts it if desired.

Just tested it and works for me. Please apply.

Thanks!
Ahmad


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux