drivers/intel/dptf: return package with value

Return the package with a value for the dptf user space service.
This is required in write tpch method for pch device under dptf
driver.

BUG=b:198582766
BRANCH=None
TEST=Build FW and test on brya0 board

Change-Id: I64e1bb04a6115c7f93c84a5d6644101ac1d3d8ba
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58174
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Sumeet Pawnikar 2021-10-07 18:00:57 +05:30 committed by Felix Held
parent 7227cef0d7
commit 7c1ce19abd
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ static void write_tpch_write_method(const char *tpch_write_method_name,
acpigen_write_zero();
/* The reason for returning a value here is a W/A for the ESIF shell */
acpigen_emit_byte(RETURN_OP);
acpigen_write_package(0);
acpigen_write_package(1);
acpigen_write_zero();
acpigen_write_package_end();
acpigen_write_method_end();
}