[U-Boot] [PATCH 04/20] usb: xhci: Add input slot context in xhci_set_configuration()

Simon Glass sjg at chromium.org
Sat Jun 17 03:43:51 UTC 2017


On 16 June 2017 at 07:31, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
>  drivers/usb/host/xhci.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list