diff options
| author | Sasha Finkelstein <[email protected]> | 2024-11-27 22:18:29 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-12-02 00:29:47 +0000 |
| commit | 1b299bd0c22887543b276bcc5b4ed26f5bd83ae4 (patch) | |
| tree | f3e7836b994c6ab07a8b5123ceb5b473e1e8cad7 | |
| parent | spi: mpc52xx: Add cancel_work_sync before module remove (diff) | |
| download | kernel-1b299bd0c22887543b276bcc5b4ed26f5bd83ae4.tar.gz kernel-1b299bd0c22887543b276bcc5b4ed26f5bd83ae4.zip | |
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]>
| -rw-r--r-- | drivers/spi/spi-apple.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-apple.c b/drivers/spi/spi-apple.c index d4b126c8701a..6273352a2b28 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); |
