Re: [PATCH] gpiolib: acpi: Fix gpio count with string references

From: Mika Westerberg

Date: Fri Jan 30 2026 - 02:46:28 EST


On Thu, Jan 29, 2026 at 03:59:44PM +0100, Alban Bedel wrote:
> Since commit 9880702d123f2 ("ACPI: property: Support using strings in
> reference properties") it is possible to use strings instead of local
> references. This work fine with single GPIO but not with arrays as
> acpi_gpio_package_count() didn't handle this case. Update it to handle
> strings like local references to cover this case as well.
>
> Signed-off-by: Alban Bedel <alban.bedel@xxxxxxxxxx>

Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>