Commit 2214170c authored by Linus Torvalds's avatar Linus Torvalds

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()
parents 6e6fb54d 9d7054fb
...@@ -646,6 +646,8 @@ static int spi_geni_init(struct spi_geni_master *mas) ...@@ -646,6 +646,8 @@ static int spi_geni_init(struct spi_geni_master *mas)
geni_se_select_mode(se, GENI_GPI_DMA); geni_se_select_mode(se, GENI_GPI_DMA);
dev_dbg(mas->dev, "Using GPI DMA mode for SPI\n"); dev_dbg(mas->dev, "Using GPI DMA mode for SPI\n");
break; break;
} else if (ret == -EPROBE_DEFER) {
goto out_pm;
} }
/* /*
* in case of failure to get gpi dma channel, we can still do the * in case of failure to get gpi dma channel, we can still do the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment