net: usb: r8152: Fix lost config across deauthorize+authorize
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 8 repliesIn review
Changes in v2 from the cover letter
- ("Don't force USB generic_subclass drivers to define ...") new for v2.
- ("Allow subclassed USB drivers to override ...") new for v2.
- ("Choose our USB config with choose_configuration()...) new for v2.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | usb: core: Don't force USB generic_subclass drivers to define probe()drivers/ | +4 | 2 replies | |
| 2/3 | usb: core: Allow subclassed USB drivers to override usb_choose_configuration()drivers/ include/ | +13 | 2 replies | |
| 3/3 | r8152: Choose our USB config with choose_configuration() rather than probe()drivers/ | +5 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alan Stern | Grant Grundler | Jakub Kicinski |
|---|---|---|---|
| 1/3 | R-b | R-b | |
| 2/3 | R-b | ||
| 3/3 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/3] net: usb: r8152: Fix lost config across deauthorize+authorize
This series fixes problems introduced by commit ec51fbd1b8a2 ("r8152:
add USB device driver for config selection") where the r8152 device would stop functioning if you deauthorized it (by writing 0 to the "authorized" field in sysfs) and then reauthorized it (by writing a 1).
In v1 this was just a single patch [1], but it's now a 3-patch series and solves the problem in a much cleaner way, as suggested by Alan Stern.
Since these three patches straddle the USB subsystem and the networking subsystem then maintainers will (obviously) need to work out a way for them to land. I don't have any strong suggestions here so I'm happy to let the maintainers propose what they think will work best.
[1] https://lore.kernel.org/r/20231130154337.1.Ie00e07f07f87149c9ce0b27ae4e26991d307e14b@changeid
Changes in v2:
- ("Don't force USB generic_subclass drivers to define ...") new for v2.
- ("Allow subclassed USB drivers to override ...") new for v2.
- ("Choose our USB config with choose_configuration()...) new for v2.
Douglas Anderson (3):
usb: core: Don't force USB generic_subclass drivers to define probe()
usb: core: Allow subclassed USB drivers to override
usb_choose_configuration()
r8152: Choose our USB config with choose_configuration() rather than
probe()
drivers/net/usb/r8152.c | 16 +++++----------- drivers/usb/core/driver.c | 5 ++++- drivers/usb/core/generic.c | 7 +++++++ include/linux/usb.h | 6 ++++++ 4 files changed, 22 insertions(+), 12 deletions(-)
Signature · 1 line
2.43.0.rc2.451.g8631bc7472-goog