Skip to content

Commit 1b299bd

Browse files
WhatAmISupposedToPutHerebroonie
authored andcommitted
spi: apple: Set use_gpio_descriptors to true
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 <[email protected]> Reviewed-by: Janne Grunau <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 9848366 commit 1b299bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spi-apple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ static int apple_spi_probe(struct platform_device *pdev)
493493
ctlr->prepare_message = apple_spi_prepare_message;
494494
ctlr->set_cs = apple_spi_set_cs;
495495
ctlr->transfer_one = apple_spi_transfer_one;
496+
ctlr->use_gpio_descriptors = true;
496497
ctlr->auto_runtime_pm = true;
497498

498499
pm_runtime_set_active(&pdev->dev);

0 commit comments

Comments
 (0)