summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/pluto2
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-06-22 21:20:39 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 14:13:18 +0400
commit67778b322780200ac14e95c8089a0bd679a467d9 (patch)
treef8dec45cab7e3ef2c49975feac3e15640b884ce0 /drivers/media/dvb/pluto2
parenta36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (diff)
downloadlinux-67778b322780200ac14e95c8089a0bd679a467d9.tar.xz
V4L/DVB (8129): pluto_set_dma_addr() fix
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>
Diffstat (limited to 'drivers/media/dvb/pluto2')
-rw-r--r--drivers/media/dvb/pluto2/pluto2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c
index 960ed5763ae1..1360403b88b6 100644
--- a/drivers/media/dvb/pluto2/pluto2.c
+++ b/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)