summaryrefslogtreecommitdiff
path: root/common/usb_hub.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-07-19 13:49:56 (GMT)
committerMarek Vasut <marex@denx.de>2017-07-28 21:34:17 (GMT)
commitaab0db08c07de0807d609f19c17dfb8eaf589231 (patch)
treef01bcdad173306d9db8561e8648669e80b52da01 /common/usb_hub.c
parent209b98de01d26ef199c887934cd025fdbd761d16 (diff)
downloadu-boot-aab0db08c07de0807d609f19c17dfb8eaf589231.tar.xz
usb: xhci: Add input slot context in xhci_set_configuration()
A valid input slot context for a 'configure endpoint' command requires the 'Context Entries' field to be initialized to the index of the last valid endpoint context that is defined by the target configuration. We set up the 'Context Entries' field, but we forget to include the input slot context in the input control context 'Add Context flags' bitmap. So xHC will simply ignore input slot context and continue using its own which contains old information of the device. 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>
Diffstat (limited to 'common/usb_hub.c')
0 files changed, 0 insertions, 0 deletions