On Tue, Aug 4, 2009 at 8:08 PM, Ramya Desai<ramya.desai@xxxxxxxxx> wrote: > Dear all, > > I am developing an asynchronous driver for custom mass storage device. > I can issue two read commands one after another, without waiting for > response for the first command. > Where as my device can respond to second request first, and to the > first request at later point of time. > In this scenario, I am getting read values swapped. i.e, the buffer of > the first request is being filled with the data of second request and > vice versa. > > Can anyone say, is this the expected behaviour of USB stack ? or do I > need to do any thing else to fix this. I understand "USB stack" you mean in the above line is USB Host Stack. Does host stack have "intelligence/awareness" that the device can reply in any order ? Is the transfer by the device on is bus proper ? > Thanks and regards, > RD > -- > 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 > -- 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