]> git.baikalelectronics.ru Git - uboot.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)
commit0fa9678ec61b75e80e9e3e958bd2aa87b228a2a5
treecd8ab9fda445894e78a8e764002e557db9ac9d21
parent870f1b4781697f3e8d513c09a0824d4c6877be1b
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