RFC USB: gadget: Create a bus for gadgets
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | USB: gadget: Rename usb_gadget_probe_driver()drivers/ drivers/ drivers/ +3 more | +9 | 2 replies | |
| 1/4 | USB: gadget: Rename usb_gadget_probe_driver()drivers/ drivers/ drivers/ +4 more | +10 | 0 replies | |
| 2/4 | USB: gadget: Register udc before gadgetdrivers/ | +9 | 0 replies | |
| 2/4 | USB: gadget: Register udc before gadgetdrivers/ | +9 | 0 replies | |
| 3/4 | USB: gadget: Fix mistakes in UDC core kerneldocdrivers/ | +5 | 0 replies | |
| 3/4 | USB: gadget: Fix mistakes in UDC core kerneldocdrivers/ | +5 | 0 replies | |
| 4/4 | USB: gadget: Add a new bus for gadgetsdrivers/ include/ | +135 | 2 replies | |
| 4/4 | USB: gadget: Add a new bus for gadgetsdrivers/ include/ | +139 | 16 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Geert Uytterhoeven |
|---|---|
| 1/4 | |
| 1/4 | |
| 2/4 | |
| 2/4 | |
| 3/4 | |
| 3/4 | |
| 4/4 | T-b R-b Reported-and-tested-by R-b |
| 4/4 | T-b R-b Reported-and-tested-by R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/4] USB: gadget: Create a bus for gadgets
Everyone:
The following series of patches implements Greg's suggestion that gadgets should be registered on some sort of bus. It turns out that the best way to do this is to create a new "gadget" bus, with specialized matching and probing routines, rather than using an existing bus.
Patches 1-3 are simple preparations for the big change. They stand on their own, make useful little changes, and could be merged by themselves without committing to adding the "gadget" bus. Patch 4 is main one.
I'm posting this series for feedback from the Gadget/UDC maintainer and others. If everything works out okay, the patches can be submitted for real once the upcoming merge window closes.
Alan Stern