提交 466d725a 编写于 作者: J Johannes Stezenbach 提交者: Linus Torvalds

[PATCH] dvb: bt8xx: endianness fix

Endianness fix for risc DMA start address setting.  (reported by Stefan
Haubenthal/Peter Hettkamp)
Signed-off-by: NJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 5b5b5345
...@@ -219,7 +219,7 @@ void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin, ...@@ -219,7 +219,7 @@ void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin,
controlreg &= ~0x1f; controlreg &= ~0x1f;
controlreg |= 0x1b; controlreg |= 0x1b;
btwrite(cpu_to_le32(bt->risc_dma), BT878_ARISC_START); btwrite(bt->risc_dma, BT878_ARISC_START);
/* original int mask had : /* original int mask had :
* 6 2 8 4 0 * 6 2 8 4 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册