[DVB patch 33/54] bt8xx: endianness fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Stezenbach <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux