Re: [PATCH 00/13] wifi: drop redundant USB device references
From: Johan Hovold
Date: Fri Mar 06 2026 - 03:13:11 EST
On Fri, Mar 06, 2026 at 01:40:31AM +0000, Ping-Ke Shih wrote:
> // +Cc Greg
>
> Hi Johan,
>
> Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> [...]
>
> > drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 4 ----
> > drivers/net/wireless/realtek/rtl8xxxu/core.c | 11 +++--------
> > drivers/net/wireless/realtek/rtlwifi/usb.c | 4 ----
>
> Acked to changes of these Realtek WiFi drivers. But I'd like to know why
> rtw88/rtw89 aren't included in this patchset?
I used a more specific grep pattern to catch driver releasing references
in disconnect() and therefore missed a few that dropped the reference in
helper functions (or used non-standard names for their disconnect
function such as ath10k, I see now).
> Greg sent a patch [1] to
> correct error path of USB probe for rtw88. In the discussion, he also
> mentioned the simplest way is to drop usb_get_dev()/usb_put_dev() like
> this patchset does. Will you share patches for rtw88/rtw89? I so, I'd
> drop Greg's patch and apply yours.
>
> [1] https://lore.kernel.org/linux-wireless/2026022333-periscope-unusual-f0a0@gregkh/
Sure, I can include rtw88 (and ath10k and ath6kl) in a v2.
Do you really prefer replacing Greg's fix or shall I send an incremental
patch on top?
Johan