Skip to content

Commit

Permalink
V4L/DVB (8129): pluto_set_dma_addr() fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent a36ef6b commit 67778b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/pluto2/pluto2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 67778b3

Please sign in to comment.