diff options
| author | Alban Bedel <alban.bedel@lht.dlh.de> | 2026-01-29 15:59:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-19 16:29:54 +0100 |
| commit | 56ef68a5b8a1720dee56364bd8c7915eae58494b (patch) | |
| tree | b5efe190d55456dafcd26c3abd018cbe3be157ab /include/net/aligned_data.h | |
| parent | daaf4fe333e0d48b2037cd2270bf1ff8f70d5068 (diff) | |
gpiolib: acpi: Fix gpio count with string references
[ Upstream commit c62e0658d458d8f100445445c3ddb106f3824a45 ]
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@lht.dlh.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://patch.msgid.link/20260129145944.3372777-1-alban.bedel@lht.dlh.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
