diff options
| author | Sébastien Szymanski <[email protected]> | 2025-09-12 20:18:50 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2025-09-15 06:55:40 +0000 |
| commit | 19c839a98c731169f06d32e7c9e00c78a0086ebe (patch) | |
| tree | 97588aa9d8cde9d678d9aa11d2acf4917afda72e /lib/memory-notifier-error-inject.c | |
| parent | gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-05 (diff) | |
| download | kernel-19c839a98c731169f06d32e7c9e00c78a0086ebe.tar.gz kernel-19c839a98c731169f06d32e7c9e00c78a0086ebe.zip | |
gpiolib: acpi: initialize acpi_gpio_info struct
Since commit 7c010d463372 ("gpiolib: acpi: Make sure we fill struct
acpi_gpio_info"), uninitialized acpi_gpio_info struct are passed to
__acpi_find_gpio() and later in the call stack info->quirks is used in
acpi_populate_gpio_lookup. This breaks the i2c_hid_cpi driver:
[ 58.122916] i2c_hid_acpi i2c-UNIW0001:00: HID over i2c has not been provided an Int IRQ
[ 58.123097] i2c_hid_acpi i2c-UNIW0001:00: probe with driver i2c_hid_acpi failed with error -22
Fix this by initializing the acpi_gpio_info pass to __acpi_find_gpio()
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220388
Fixes: 7c010d463372 ("gpiolib: acpi: Make sure we fill struct acpi_gpio_info")
Signed-off-by: Sébastien Szymanski <[email protected]>
Tested-by: Hans de Goede <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Tested-By: Calvin Owens <[email protected]>
Cc: [email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
