diff options
author | Bjorn Helgaas <[email protected]> | 2010-03-24 10:44:33 -0600 |
---|---|---|
committer | Len Brown <[email protected]> | 2010-04-03 23:32:07 -0400 |
commit | b7b30de53aef6ce773d34837ba7d8422bd3baeec (patch) | |
tree | e9a9b9665139c67ccb15b99951516819cb22b6b5 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff) |
ACPI: use _HID when supplied by root-level devices
Previously, we assumed the only Device object immediately below the root
was the \_SB Scope (which the ACPI CA treats as a Device), so we forced
the HID of all such objects to ACPI_BUS_HID ("LNXSYBUS").
However, there are DSDTs that supply root-level Device objects with _HIDs.
This patch makes us pay attention to those _HIDs and only add the synthetic
ACPI_BUS_HID for root-level objects that do not supply their own _HID.
For example, this DSDT: https://bugzilla.kernel.org/show_bug.cgi?id=15605
contains:
Scope (_SB) {
...
}
Device (AMW0) {
Name (_HID, EisaId ("PNP0C14"))
...
}
and we should use "PNP0C14" for the AMW0 device, not "LNXSYBUS".
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Zhang Rui <[email protected]>
Tested-by: Yong Wang <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions