Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264108
b: refs/heads/master
c: 387719c
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Harris authored and Grant Likely committed Sep 23, 2011
1 parent f3b4812 commit d9c22f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cc122ac913dbd662403a4a173c41e0d59ab5bdd
refs/heads/master: 387719c2ec995019e0af0dc537ca17c9ebd5b64f
3 changes: 3 additions & 0 deletions trunk/drivers/spi/spi-fsl-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,9 @@ static void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi)
{
struct device *dev = mspi->dev;

if (!(mspi->flags & SPI_CPM_MODE))
return;

dma_unmap_single(dev, mspi->dma_dummy_rx, SPI_MRBLR, DMA_FROM_DEVICE);
dma_unmap_single(dev, mspi->dma_dummy_tx, PAGE_SIZE, DMA_TO_DEVICE);
cpm_muram_free(cpm_muram_offset(mspi->tx_bd));
Expand Down

0 comments on commit d9c22f8

Please sign in to comment.