diff options
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 20db378a6012..4f92643e3a4c 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -4125,6 +4125,8 @@ static int xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev, | |||
4125 | /* Zero the input context control for later use */ | 4125 | /* Zero the input context control for later use */ |
4126 | ctrl_ctx->add_flags = 0; | 4126 | ctrl_ctx->add_flags = 0; |
4127 | ctrl_ctx->drop_flags = 0; | 4127 | ctrl_ctx->drop_flags = 0; |
4128 | slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); | ||
4129 | udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); | ||
4128 | 4130 | ||
4129 | xhci_dbg_trace(xhci, trace_xhci_dbg_address, | 4131 | xhci_dbg_trace(xhci, trace_xhci_dbg_address, |
4130 | "Internal device address = %d", | 4132 | "Internal device address = %d", |