Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: xhci: xhci_mem_init: Use cpu_to_le64() and not xhci_writeq()
xhci_writeq() makes the CPU->LE swapping only when addressing registers in the xHCI controller address range and not in the local memory (RAM). We need to use cpu_to_le64() here to ensure that the conversion is done correctly. Signed-off-by: Stefan Roese <[email protected]> Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> Cc: Bin Meng <[email protected]> Cc: Marek Vasut <[email protected]>
- Loading branch information