usb/acpi: binding xhci root hub usb port with ACPI
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 19 Mar 2013 08:48:13 +0000 (16:48 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 25 Mar 2013 17:39:17 +0000 (10:39 -0700)
commitbafcaf6d84b5d1bf92dabd1ffe7753ed36b7552e
tree1a6dce0016aa812d3cd14b3494cec010c8b2035a
parent3f5eb14135ba9d97ba4b8514fc7ef5e0dac2abf4
usb/acpi: binding xhci root hub usb port with ACPI

This patch is to bind xhci root hub usb port with its acpi node.
The port num in the acpi table matches with the sequence in the xhci
extended capabilities table. So call usb_hcd_find_raw_port_number() to
transfer hub port num into raw port number which associates with
the sequence in the xhci extended capabilities table before binding.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/usb-acpi.c