Re: Unlinking URBs before suspending USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Are you sure the device didn't send a short packet?
It is possible that the device is sending a short packet.

> URBs can't be killed in the middle of a transaction.
Do you mean if usb_kill_urb gets called in the middle of an ongoing transfer,
1. the URB would not be given back until the transfer is completed?
Or
2. the transfer is going to be stopped at the next 512 bytes packet boundary.

If 1 is true, there is no special handling needed, but if 2 is true,
the driver still need to check for partial transfer.

Is there any other possibilities?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux