Skip to content
Commit 9dc130fc authored by Shaohua Li's avatar Shaohua Li Committed by Len Brown
Browse files

ACPI: fix OSC regression that caused aer and pciehp not to load



Executing _OSC returns a buffer, which has an acpi object in it.
Don't directly returns the buffer, instead, we return the acpi object's
buffer. This fixes a regression since caller of acpi_run_osc expects
an acpi object's buffer returned.

Tested-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3563ff96
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment