]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c034809e47649c167c78febbe0232ea4a9c09e7
tree1a6dce0016aa812d3cd14b3494cec010c8b2035a
parent4cf7064dae30f89b2675e27703aa6cdf6b126834
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