Skip to content

Commit 2214170

Browse files
committed
Merge tag 'spi-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fix from Mark Brown: "One last fix for SPI, just a simple fix for incorrect handling of probe deferral for DMA in the Qualcomm GENI driver" * tag 'spi-fix-v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: spi-geni-qcom: correctly handle -EPROBE_DEFER from dma_request_chan()
2 parents 6e6fb54 + 9d7054f commit 2214170

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/spi/spi-geni-qcom.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,8 @@ static int spi_geni_init(struct spi_geni_master *mas)
646646
geni_se_select_mode(se, GENI_GPI_DMA);
647647
dev_dbg(mas->dev, "Using GPI DMA mode for SPI\n");
648648
break;
649+
} else if (ret == -EPROBE_DEFER) {
650+
goto out_pm;
649651
}
650652
/*
651653
* in case of failure to get gpi dma channel, we can still do the

0 commit comments

Comments
 (0)