Commit 67778b32 authored by Al Viro's avatar Al Viro Committed by Mauro Carvalho Chehab

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent a36ef6b1
...@@ -234,7 +234,7 @@ static void pluto_reset_ts(struct pluto *pluto, int reenable) ...@@ -234,7 +234,7 @@ static void pluto_reset_ts(struct pluto *pluto, int reenable)
static void pluto_set_dma_addr(struct pluto *pluto) 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) static int __devinit pluto_dma_map(struct pluto *pluto)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment