Re: [PATCH 1/1] usb: xhci: remove the use of xhci->addr_dev

From: Mathias Nyman
Date: Fri Nov 04 2016 - 09:10:52 EST

On 02.11.2016 04:30, Lu Baolu wrote:
xhci->addr_dev is used for the completion of both address device
and enable slot commands. It's shared by enumerations of all USB
devices connected to an xhci host. Hence, it's just a source for
possible races. Since we've introduced command structure and the
command queue to xhci driver. It is time to get rid of addr_dev
and use the completion in the command structure instead.

Signed-off-by: Lu Baolu <>

Thanks, applied to my tree