diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-04 23:00:54 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-04 23:00:54 +0100 |
commit | 4f5f64cf0cc916220aaa055992e31195470cfe37 (patch) | |
tree | 37aa1fa12231ad2cd2cb5f0760e234331b216470 /sound | |
parent | 0271f4f1176d7205b2b73ef956b169db8f417932 (diff) |
ACPI / scan: Do not use dummy HID for system bus ACPI nodes
At one point acpi_device_set_id() checks if acpi_device_hid(device)
returns NULL, but that never happens, so system bus devices with an
empty list of PNP IDs are given the dummy HID ("device") instead of
the "system bus HID" ("LNXSYBUS"). Fix the code to use the right
check.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions