Skip to content
Snippets Groups Projects
Commit d9cc3bda authored by Jocelyn Dang's avatar Jocelyn Dang Committed by CQ bot account: commit-bot@chromium.org
Browse files

[dev][usb] Add usb_reset_device and XHCI changes.

After usb-hub does the port reset, XHCI sends TRB_CMD_RESET_DEVICE.
We also need to address the device again.

I extracted part of xhci_handle_enumerate_device into a new
function xhci_setup_slot, as it is the same thing as xhci_reset_device
has to do after the reset.

This is so we can load new firmware on the USB ML device.

ZX-3155 #comment

TEST= plugged in USB ML device, ran usb-fwloader -d -f firmware and
verified the device descriptor changed.

Also tried resetting in the usb audio driver and running audio -d 1 tone

Change-Id: Id3bd748c0d40838d98e233ad1f01589cb1042021
parent dfa2a3fa
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment