* [PATCH] pluto_set_dma_addr() fix
@ 2008-06-22 14:20 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2008-06-22 14:20 UTC (permalink / raw)
To: mchehab; +Cc: linux-kernel
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>
---
drivers/media/dvb/pluto2/pluto2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c
index 960ed57..1360403 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)
--
1.5.3.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-22 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-22 14:20 [PATCH] pluto_set_dma_addr() fix Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®