projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7d3c1
)
[PATCH] dvb: av7110: conditionally disable workaround for broken firmware
author
Oliver Endriss
<o.endriss@gmx.de>
Fri, 9 Sep 2005 20:03:11 +0000
(13:03 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:45 +0000
(13:57 -0700)
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>
drivers/media/dvb/ttpci/av7110_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/dvb/ttpci/av7110_hw.c
b/drivers/media/dvb/ttpci/av7110_hw.c
index 456d529cb3811ac7d880bf75ee89f7e38eb70ae6..7442f56a72ecc77320f70d13eb68c5e8b9049f75 100644
(file)
--- a/
drivers/media/dvb/ttpci/av7110_hw.c
+++ b/
drivers/media/dvb/ttpci/av7110_hw.c
@@
-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;