mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
spi: spi-msm-geni: Propagate missing change from 4.19 to 5.4
Propagate following change from 4.19 to 5.4 for SPI driver.
'commit 64485a92b029 ("spi: spi-geni-qcom: Check for Rx DMA channel
being null")'.
Change-Id: I0dc30e38d0cbbab21d26eeab17b40b14017d48ff
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
This commit is contained in:
parent
ce64610d0e
commit
67ec5c3b8f
1 changed files with 1 additions and 0 deletions
|
|
@ -860,6 +860,7 @@ static int spi_geni_prepare_transfer_hardware(struct spi_master *spi)
|
|||
dev_info(mas->dev, "Failed to get rx DMA ch %ld\n",
|
||||
PTR_ERR(mas->rx));
|
||||
dma_release_channel(mas->tx);
|
||||
goto setup_ipc;
|
||||
}
|
||||
mas->gsi = devm_kzalloc(mas->dev,
|
||||
(sizeof(struct spi_geni_gsi) * NUM_SPI_XFER),
|
||||
|
|
|
|||
Loading…
Reference in a new issue