Re: [PATCH] usb: xhci: fix Immediate Data Transfer endianness

2019-10-23 Thread Mathias Nyman
On 20.10.2019 4.53, Samuel Holland wrote: The arguments to queue_trb are always byteswapped to LE for placement in the ring, but this should not happen in the case of immediate data; the bytes copied out of transfer_buffer are already in the correct order. Add a complementary byteswap so the byte

[PATCH] usb: xhci: fix Immediate Data Transfer endianness

2019-10-19 Thread Samuel Holland
The arguments to queue_trb are always byteswapped to LE for placement in the ring, but this should not happen in the case of immediate data; the bytes copied out of transfer_buffer are already in the correct order. Add a complementary byteswap so the bytes end up in the ring correctly. This was ob