Re: [PATCH 5/5] usb: xhci: exit early in xhci_setup_device() if we're halted or dying

From: Mathias Nyman
Date: Tue Aug 18 2015 - 08:13:44 EST


On 18.08.2015 13:39, Roger Quadros wrote:
During quick plug/removal of OTG adapter during dual-role testing
it can happen that xhci_alloc_device() is called for the newly
detected device after the DRD library has called xhci_stop to
remove the HCD.

If that is the case, just fail early to prevent the following warning.


Thanks, applied

-Mathias

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/