ACPI: property: Support strings in Apple _DSM props
authorHector Martin <marcan@marcan.st>
Mon, 24 Apr 2023 06:46:57 +0000 (15:46 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Apr 2023 16:50:26 +0000 (18:50 +0200)
commit9bde7fb8940f636f4338bf233883ae37844dcdb7
tree47c970d035963b466c560c3c4a0ab6be63fe9faa
parent793582ff47f8b73be8d3d925d750bf3ef79f33c7
ACPI: property: Support strings in Apple _DSM props

The Wi-Fi module in x86 Apple machines has a "module-instance" device
property that specifies the platform type and is used for firmware
selection. Its value is a string, so add support for string values in
acpi_extract_apple_properties().

Reviewed-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/apple.c