[DVB patch 33/54] bt8xx: endianness fix

Johannes Stezenbach
2005-09-04T23:32:36Z

[-- Attachment #1: dvb-bt8xx-endian-fix.patch --]
[-- Type: text/plain, Size: 703 bytes --]

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

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>

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

--