acpi: Conditionally set mapping_offset in IORT
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Sun, 16 Mar 2025 08:32:55 +0000 (09:32 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:38:14 +0000 (11:38 -0600)
commit9c748576402cbc1381498e72800ecaeb99d2b355
treea70bca3825d3eff2ec42170fce2887cb945774fa
parentfe8844f4ad7189a6309976ecc841d55735e3534a
acpi: Conditionally set mapping_offset in IORT

The spec recommends to set the mapping_offset only when there are
ID mappings as indicated by the mapping_count field.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
lib/acpi/acpi_table.c