MFp4: //depot/projects/usb@155923
Fix remaining xfer->udev variable changes. Submitted by: Hans Petter Selasky
This commit is contained in:
parent
62005a2d11
commit
2c8e37aa5c
@ -1025,7 +1025,7 @@ at91dci_timeout(void *arg)
|
||||
|
||||
DPRINTF("xfer=%p\n", xfer);
|
||||
|
||||
USB_BUS_LOCK_ASSERT(xfer->udev->bus, MA_OWNED);
|
||||
USB_BUS_LOCK_ASSERT(xfer->xroot->bus, MA_OWNED);
|
||||
|
||||
/* transfer is transferred */
|
||||
at91dci_device_done(xfer, USB_ERR_TIMEOUT);
|
||||
|
@ -72,7 +72,7 @@ usb2_sw_transfer(struct usb2_sw_transfer *std,
|
||||
DPRINTF("xfer gone\n");
|
||||
return;
|
||||
}
|
||||
USB_BUS_LOCK_ASSERT(xfer->udev->bus, MA_OWNED);
|
||||
USB_BUS_LOCK_ASSERT(xfer->xroot->bus, MA_OWNED);
|
||||
|
||||
std->xfer = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user