Re: [PATCH V5 01/12] xhci: Set shared HCD's hcd_priv in xhci_gen_setup

2014-11-17 Thread Felipe Balbi
On Mon, Nov 17, 2014 at 02:41:31PM -0800, Andrew Bresticker wrote: > xhci_gen_setup() sets the hcd_priv field for the primary HCD, but not > for the shared HCD, requiring xHCI host-controller drivers to set it > between usb_create_shared_hcd() and usb_add_hcd(). There's no reason > xhci_gen_setup(

[PATCH V5 01/12] xhci: Set shared HCD's hcd_priv in xhci_gen_setup

2014-11-17 Thread Andrew Bresticker
xhci_gen_setup() sets the hcd_priv field for the primary HCD, but not for the shared HCD, requiring xHCI host-controller drivers to set it between usb_create_shared_hcd() and usb_add_hcd(). There's no reason xhci_gen_setup() can't set the shared HCD's hcd_priv as well, so move that bit out of the