summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 14:20:39 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 14:20:39 +0000
commit0b1270c68ced9a1dc8b9877607bd741810a62840 (patch)
tree21efc89473ba54c861e2cb2351dffb5d0d0e6dc3
parent5c51bb04555feb9d92e1a2f95d7f931d3c23dc3c (diff)
downloadmediapointer-dvb-s2-0b1270c68ced9a1dc8b9877607bd741810a62840.tar.gz
mediapointer-dvb-s2-0b1270c68ced9a1dc8b9877607bd741810a62840.tar.bz2
pluto_set_dma_addr() fix
From: Al Viro <viro@ftp.linux.org.uk> bogus cpu_to_le32() when passing dma address to hardware via writel() - writel() converts itself. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/dvb/pluto2/pluto2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/pluto2/pluto2.c b/linux/drivers/media/dvb/pluto2/pluto2.c
index 33a98f0f0..d654d872e 100644
--- a/linux/drivers/media/dvb/pluto2/pluto2.c
+++ b/linux/drivers/media/dvb/pluto2/pluto2.c
@@ -234,7 +234,7 @@ static void pluto_reset_ts(struct pluto *pluto, int reenable)
static void pluto_set_dma_addr(struct pluto *pluto)
{
- pluto_writereg(pluto, REG_PCAR, cpu_to_le32(pluto->dma_addr));
+ pluto_writereg(pluto, REG_PCAR, pluto->dma_addr);
}
static int __devinit pluto_dma_map(struct pluto *pluto)