]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Correct command TRB 4th dword initialization
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:49:54 +0000 (21:49 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:15 +0000 (23:34 +0200)
commit5964a116698b1b1edaa771fac3645fa39bfc383b
treed89a0dfad94a2dd0ade72c3a1a933c9f1263ce7a
parent9a6b2e99ded7ea9f2c193befc19ed4cc7ff7ad61
usb: xhci: Correct command TRB 4th dword initialization

In xhci_queue_command(), when the command is not 'reset endpoint',
'stop endpoint' or 'set TR dequeue pointer', endpoint ID should not
be encoded in the TRB.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
drivers/usb/host/xhci-ring.c