Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix typo in atmel_spi.c

Fix cut 'n paste bug in Atmel SPI driver.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Acked-by: David Brownell <david-b@pacbell.net>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andrew Victor and committed by
Linus Torvalds
85787a2b f79abb82

+1 -1
+1 -1
drivers/spi/atmel_spi.c
··· 251 251 xfer->rx_dma = dma_map_single(dev, 252 252 xfer->rx_buf, xfer->len, 253 253 DMA_FROM_DEVICE); 254 - if (dma_mapping_error(xfer->tx_dma)) { 254 + if (dma_mapping_error(xfer->rx_dma)) { 255 255 if (xfer->tx_buf) 256 256 dma_unmap_single(dev, 257 257 xfer->tx_dma, xfer->len,