V4L/DVB (8129): pluto_set_dma_addr() fix
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 22 Jun 2008 17:20:39 +0000 (14:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:13:18 +0000 (07:13 -0300)
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>
drivers/media/dvb/pluto2/pluto2.c

index 960ed5763ae1300f929538210bdbb509d36c4be0..1360403b88b6953d778e300717e5e8c646bf2da0 100644 (file)
@@ -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)