]> err.no Git - linux-2.6/commitdiff
[PATCH] dvb: bt8xx: endianness fix
authorJohannes Stezenbach <js@linuxtv.org>
Fri, 9 Sep 2005 20:02:53 +0000 (13:02 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:42 +0000 (13:57 -0700)
Endianness fix for risc DMA start address setting.  (reported by Stefan
Haubenthal/Peter Hettkamp)

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/bt8xx/bt878.c

index 3bfbba3d9dfc236e2f8efdea2350d81059cb7b20..f29571450038b4f996799fc7ad4757e1f8d90ad1 100644 (file)
@@ -219,7 +219,7 @@ void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin,
        controlreg &= ~0x1f;
        controlreg |= 0x1b;
 
-       btwrite(cpu_to_le32(bt->risc_dma), BT878_ARISC_START);
+       btwrite(bt->risc_dma, BT878_ARISC_START);
 
        /* original int mask had :
         *    6    2    8    4    0