Merge "spi: spi_qsd: Use the right device for dma_unmap_single operation"

This commit is contained in:
Linux Build Service Account 2017-02-12 14:28:20 -08:00 committed by Gerrit - the friendly Code Review server
commit 3a7e752617

View file

@ -1118,7 +1118,7 @@ static void msm_spi_bam_unmap_buffers(struct msm_spi *dd)
void *tx_buf, *rx_buf; void *tx_buf, *rx_buf;
u32 tx_len, rx_len; u32 tx_len, rx_len;
dev = &dd->spi->dev; dev = dd->dev;
xfr = dd->cur_transfer; xfr = dd->cur_transfer;
tx_buf = (void *)xfr->tx_buf; tx_buf = (void *)xfr->tx_buf;