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()
This commit is contained in:
@@ -646,6 +646,8 @@ static int spi_geni_init(struct spi_geni_master *mas)
|
||||
geni_se_select_mode(se, GENI_GPI_DMA);
|
||||
dev_dbg(mas->dev, "Using GPI DMA mode for SPI\n");
|
||||
break;
|
||||
} else if (ret == -EPROBE_DEFER) {
|
||||
goto out_pm;
|
||||
}
|
||||
/*
|
||||
* in case of failure to get gpi dma channel, we can still do the
|
||||
|
||||
Reference in New Issue
Block a user