diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-09 23:07:47 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-09 23:07:47 +0200 |
commit | 11b88ee275ec8590a373396888c2460ee89364d6 (patch) | |
tree | 686b3511a75150080b3b91d18b8fbc87ddfa57ba /drivers/acpi/processor_driver.c | |
parent | 464c114717ae221202ebdbd9aa216035b4626f18 (diff) | |
download | linux-stable-11b88ee275ec8590a373396888c2460ee89364d6.tar.gz linux-stable-11b88ee275ec8590a373396888c2460ee89364d6.tar.bz2 linux-stable-11b88ee275ec8590a373396888c2460ee89364d6.zip |
ACPI / bind: Prefer device objects with _STA to those without it
As reported at https://bugzilla.kernel.org/show_bug.cgi?id=60829,
there still are cases in which do_find_child() doesn't choose the
ACPI device object it is "expected" to choose if there are more such
objects matching one PCI device present. This particular problem may
be worked around by making do_find_child() return device obejcts witn
_STA whose result indicates that the device is enabled before device
objects without _STA if there's more than one device object to choose
from.
This change doesn't affect the case in which there's only one
matching ACPI device object per PCI device.
References: https://bugzilla.kernel.org/show_bug.cgi?id=60829
Reported-by: Peter Wu <lekensteyn@gmail.com>
Tested-by: Felix Lisczyk <felix.lisczyk@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
0 files changed, 0 insertions, 0 deletions