spi/spi_mpc8xxx: Do not use map_tx_dma to unmap rx_dma
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 17 May 2010 13:17:10 +0000 (13:17 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 25 May 2010 06:23:13 +0000 (00:23 -0600)
commit338ff2982d969a8e09ca356552cb5022ad380766
treef67a5ec9c9825281dfb8c328a8e89a1711056a98
parent0398fb70940e1f10939d6126eafb760bd48d1566
spi/spi_mpc8xxx: Do not use map_tx_dma to unmap rx_dma

This fixes a typo were map_tx_dma is used instead of
map_rx_dma, casing the driver to unmap rx_dma when it
shouldn't.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_mpc8xxx.c