summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-05-26 12:13:12 +0200
committerMark Brown <broonie@kernel.org>2016-05-26 12:13:12 +0200
commitbea8205feeb1d28841541814ae375defb5b1986b (patch)
tree0b6c5b5b28e009ba566d033676b1ff9b326fda11 /drivers
parentMerge remote-tracking branch 'spi/topic/zynqmp' into spi-next (diff)
parentspi: spi-ep93xx: Fix the PTR_ERR() argument (diff)
downloadlinux-bea8205feeb1d28841541814ae375defb5b1986b.tar.xz
linux-bea8205feeb1d28841541814ae375defb5b1986b.zip
Merge branch 'asoc-fix-ep93xx' into spi-fix-ep93xx
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-ep93xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
index bb00be8d1851..17a6387e20b5 100644
--- a/drivers/spi/spi-ep93xx.c
+++ b/drivers/spi/spi-ep93xx.c
@@ -567,7 +567,7 @@ static void ep93xx_spi_dma_transfer(struct ep93xx_spi *espi)
txd = ep93xx_spi_dma_prepare(espi, DMA_MEM_TO_DEV);
if (IS_ERR(txd)) {
ep93xx_spi_dma_finish(espi, DMA_DEV_TO_MEM);
- dev_err(&espi->pdev->dev, "DMA TX failed: %ld\n", PTR_ERR(rxd));
+ dev_err(&espi->pdev->dev, "DMA TX failed: %ld\n", PTR_ERR(txd));
msg->status = PTR_ERR(txd);
return;
}