Skip to content

Commit 1fdc4dc

Browse files
oneukumgregkh
authored andcommitted
USB: wdm: wdm_wwan_port_tx_complete mutex in atomic context
wdm_wwan_port_tx_complete is called from a completion handler with irqs disabled and possible in IRQ context usb_autopm_put_interface can take a mutex. Hence usb_autopm_put_interface_async must be used. Fixes: cac6fb0 ("usb: class: cdc-wdm: WWAN framework integration") Cc: stable <stable@kernel.org> Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://lore.kernel.org/r/20250401084749.175246-4-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c1846ed commit 1fdc4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/class/cdc-wdm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ static void wdm_wwan_port_tx_complete(struct urb *urb)
879879
struct sk_buff *skb = urb->context;
880880
struct wdm_device *desc = skb_shinfo(skb)->destructor_arg;
881881

882-
usb_autopm_put_interface(desc->intf);
882+
usb_autopm_put_interface_async(desc->intf);
883883
wwan_port_txon(desc->wwanp);
884884
kfree_skb(skb);
885885
}

0 commit comments

Comments
 (0)