From: Johannes Stezenbach Date: Fri, 9 Sep 2005 20:02:53 +0000 (-0700) Subject: [PATCH] dvb: bt8xx: endianness fix X-Git-Tag: v2.6.14-rc1~406 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=466d725ac8d9c58a5de87f72b4fe066c4bad3d9d;p=linux-2.6-omap-h63xx.git [PATCH] dvb: bt8xx: endianness fix Endianness fix for risc DMA start address setting. (reported by Stefan Haubenthal/Peter Hettkamp) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/dvb/bt8xx/bt878.c b/drivers/media/dvb/bt8xx/bt878.c index 3bfbba3d9df..f2957145003 100644 --- a/drivers/media/dvb/bt8xx/bt878.c +++ b/drivers/media/dvb/bt8xx/bt878.c @@ -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