mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[PATCH] dvb: av7110: conditionally disable workaround for broken firmware
Disable COM_IF_LOCK workaround for firmware > 0x261f. Signed-off-by: Oliver Endriss <[email protected]> Signed-off-by: Johannes Stezenbach <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ce7d3c11ae
commit
9a7b102e7f
1 changed files with 4 additions and 2 deletions
|
|
@ -366,7 +366,8 @@ static int __av7110_send_fw_cmd(struct av7110 *av7110, u16* buf, int length)
|
|||
msleep(1);
|
||||
}
|
||||
|
||||
wdebi(av7110, DEBINOSWAP, COM_IF_LOCK, 0xffff, 2);
|
||||
if (FW_VERSION(av7110->arm_app) <= 0x261f)
|
||||
wdebi(av7110, DEBINOSWAP, COM_IF_LOCK, 0xffff, 2);
|
||||
|
||||
#ifndef _NOHANDSHAKE
|
||||
start = jiffies;
|
||||
|
|
@ -439,7 +440,8 @@ static int __av7110_send_fw_cmd(struct av7110 *av7110, u16* buf, int length)
|
|||
|
||||
wdebi(av7110, DEBINOSWAP, COMMAND, (u32) buf[0], 2);
|
||||
|
||||
wdebi(av7110, DEBINOSWAP, COM_IF_LOCK, 0x0000, 2);
|
||||
if (FW_VERSION(av7110->arm_app) <= 0x261f)
|
||||
wdebi(av7110, DEBINOSWAP, COM_IF_LOCK, 0x0000, 2);
|
||||
|
||||
#ifdef COM_DEBUG
|
||||
start = jiffies;
|
||||
|
|
|
|||
Loading…
Reference in a new issue