mbox series

[v1,0/2] gpiolib: acpi: Fix missing info filling

Message ID 20250409132942.2550719-1-andriy.shevchenko@linux.intel.com
Headers show
Series gpiolib: acpi: Fix missing info filling | expand

Message

Andy Shevchenko April 9, 2025, 1:27 p.m. UTC
Kees reported that code, while being refactored, missed the point of
filling the info structure which supplies GPIO flags to the upper layer.
Indeed, without that part the GPIO expander get no IRQ on Intel Edison,
for example. Fix this in this series.

Andy Shevchenko (2):
  gpiolib: acpi: Use temporary variable for struct acpi_gpio_info
  gpiolib: acpi: Make sure we fill struct acpi_gpio_info

 drivers/gpio/gpiolib-acpi.c | 36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)