mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
Merge tag 'gpio-fixes-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski: - add a missing ACPI ID for MTL-CVF devices in gpio-usbio - mark the gpio-wcd934x controller as "sleeping" as it uses a mutex for locking internally * tag 'gpio-fixes-for-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: gpio: wcd934x: mark the GPIO controller as sleeping gpio: usbio: Add ACPI device-id for MTL-CVF devices
This commit is contained in:
@@ -29,6 +29,7 @@ static const struct acpi_device_id usbio_gpio_acpi_hids[] = {
|
||||
{ "INTC1007" }, /* MTL */
|
||||
{ "INTC10B2" }, /* ARL */
|
||||
{ "INTC10B5" }, /* LNL */
|
||||
{ "INTC10D1" }, /* MTL-CVF */
|
||||
{ "INTC10E2" }, /* PTL */
|
||||
{ }
|
||||
};
|
||||
|
||||
@@ -103,7 +103,7 @@ static int wcd_gpio_probe(struct platform_device *pdev)
|
||||
chip->base = -1;
|
||||
chip->ngpio = WCD934X_NPINS;
|
||||
chip->label = dev_name(dev);
|
||||
chip->can_sleep = false;
|
||||
chip->can_sleep = true;
|
||||
|
||||
return devm_gpiochip_add_data(dev, chip, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user