Skip to content

Commit

Permalink
[PATCH] dvb: av7110: conditionally disable workaround for broken firm…
Browse files Browse the repository at this point in the history
…ware

Disable COM_IF_LOCK workaround for firmware > 0x261f.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Oliver Endriss authored and Linus Torvalds committed Sep 9, 2005
1 parent ce7d3c1 commit 9a7b102
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/media/dvb/ttpci/av7110_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9a7b102

Please sign in to comment.