Skip to content
Commit bf4703fd authored by Irina Tirdea's avatar Irina Tirdea Committed by Rafael J. Wysocki
Browse files

ACPI / property: fix data node parsing in acpi_get_next_subnode()



When an ACPI node has both ACPI device nodes and ACPI data nodes,
acpi_get_next_subnode() will return the ACPI data nodes of its last
parsed child.

To avoid that, make acpi_get_next_subnode() go back to the original
ACPI device object when all of the device node children of it have
been found already.

Signed-off-by: default avatarIrina Tirdea <irina.tirdea@intel.com>
[ rjw: Changelog ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 77812034
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment