diff mbox series

spi: apple: Set use_gpio_descriptors to true

Message ID 20241127-gpio-descs-v1-1-c586b518a7d5@gmail.com (mailing list archive)
State New
Headers show
Series spi: apple: Set use_gpio_descriptors to true | expand

Commit Message

Sasha Finkelstein via B4 Relay Nov. 27, 2024, 10:18 p.m. UTC
From: Sasha Finkelstein <fnkl.kernel@gmail.com>

There is at least one peripheral that is attached to this
controller and can not use native CS. Make it possible to use
a GPIO instead.

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
---
 drivers/spi/spi-apple.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 9f16d5e6f220661f73b36a4be1b21575651d8833
change-id: 20241127-gpio-descs-58fcf9a04c4c
diff mbox series

Patch

diff --git a/drivers/spi/spi-apple.c b/drivers/spi/spi-apple.c
index d4b126c8701a67083e7247d1c82fb56f1725d9cb..6273352a2b2861c9da0976a46ec2adbc4c71d3d2 100644
--- a/drivers/spi/spi-apple.c
+++ b/drivers/spi/spi-apple.c
@@ -493,6 +493,7 @@  static int apple_spi_probe(struct platform_device *pdev)
 	ctlr->prepare_message = apple_spi_prepare_message;
 	ctlr->set_cs = apple_spi_set_cs;
 	ctlr->transfer_one = apple_spi_transfer_one;
+	ctlr->use_gpio_descriptors = true;
 	ctlr->auto_runtime_pm = true;
 
 	pm_runtime_set_active(&pdev->dev);