]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: Add TODO comment about ACPI GPIO setup
authorHans de Goede <johannes.goede@oss.qualcomm.com>
Sun, 9 Nov 2025 15:53:39 +0000 (16:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2025 14:03:53 +0000 (14:03 +0000)
commit66e9feb03e7cf8983b1d0c540e2dad90d5146d48
treeb755119f8cab53badddb007c5014bc2a9c50c9e3
parent939edfaa10f1d22e6af6a84bf4bd96dc49c67302
spi: Add TODO comment about ACPI GPIO setup

Add a TODO comment that ideally the ACPI/gpiolib core code should take care
of setting GPIO direction and/or bias according to ACPI GPIO resources.

If this TODO gets implemented then the acpi_dev_gpio_irq_get() call in
acpi_register_spi_device() can be dropped.

Suggested-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20251109155340.26199-1-johannes.goede@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c