]> 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)
commit14fe889313e9b3684a82ed65d31a39dafe62d41b
tree1a6dce0016aa812d3cd14b3494cec010c8b2035a
parent9e68ab1cefe881646c7aae188f884176241e2152
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