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)
commit43eb0d448867f9f3c7b02957a2196ac987840a17
treed89a0dfad94a2dd0ade72c3a1a933c9f1263ce7a
parentf2e0315e9d27a6495bde8d80983be4e0208bb63f
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