[DVB patch 33/54] bt8xx: endianness fix

From: Johannes Stezenbach
Date: Sun Sep 04 2005 - 18:33:04 EST


Endianness fix for risc DMA start address setting.
(reported by Stefan Haubenthal/Peter Hettkamp)

Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

drivers/media/dvb/bt8xx/bt878.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.13-git4.orig/drivers/media/dvb/bt8xx/bt878.c 2005-09-04 22:27:47.000000000 +0200
+++ linux-2.6.13-git4/drivers/media/dvb/bt8xx/bt878.c 2005-09-04 22:28:27.000000000 +0200
@@ -219,7 +219,7 @@ void bt878_start(struct bt878 *bt, u32 c
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

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/