USB: cdc-wdm: don't enable interrupts in USB-giveback
PATCH v2 1/1 USB: cdc-wdm: don't enable interrupts in USB-giveback
Quoted 5 lines · Sebastian Andrzej Siewior
The function
service_outstanding_interrupt()will unconditionally enable interrupts during unlock and invokeusb_submit_urb()withGFP_KERNEL. If the HCD completes in BH (like ehci does) then the context remains atomic duelocal_bh_disable()and enabling interrupts does not change this.
Hi,
I am just looking at your patch and I am wondering why wdm_in_callback() won't just call service_outstanding_interrupt() again and again? OK, maybe I am dense and it may well be present now, but it just looks to me that way.
Regards
Oliver
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html