commit | 83b175177f2e1239157a35ec91c104ebfa3416b0 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Tue Jul 21 10:46:03 2020 +0200 |
committer | Marek Vasut <marex@denx.de> | Wed Aug 05 09:30:46 2020 +0200 |
tree | c6e6b36cd2e8538b5a02d8b67a3bbe7b7ded5457 | |
parent | cb57086caf310417b28d142211a62abd775fe8b5 [diff] |
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 <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Marek Vasut <marex@denx.de>