]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Handle endianness in xhci_set_configuration()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 24 May 2018 06:40:50 +0000 (23:40 -0700)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:10 +0000 (11:59 +0200)
commite40406603fe22a5b18d7e8ac7a2eb0f2d2b13cf1
treecd8ab9fda445894e78a8e764002e557db9ac9d21
parenteaaefb066c86f08fb285e73fb8c5fbf497be6b57
usb: xhci: Handle endianness in xhci_set_configuration()

In xhci_set_configuration(), 'Context Entries' field in the slot
context was cleared with mask LAST_CTX_MASK, but it should have
taken the endianness into consideration.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci.c