summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-07-09 11:11:23 +0000
committerJohannes Stezenbach <devnull@localhost>2004-07-09 11:11:23 +0000
commitc0a384d17920ec41c09e994da04c9d5a32131bab (patch)
treea621ea66fd3a5f77e5a73eff3a3c9cf078dad729 /linux/drivers/media/dvb/ttpci
parent85d1d8028ff92a97d29b5586b611fb39bf182b8d (diff)
downloadmediapointer-dvb-s2-c0a384d17920ec41c09e994da04c9d5a32131bab.tar.gz
mediapointer-dvb-s2-c0a384d17920ec41c09e994da04c9d5a32131bab.tar.bz2
fix audcom() bug reported by Jeremy Jones (two words of trailing garbage
sent to firmware with every command)
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.h b/linux/drivers/media/dvb/ttpci/av7110_hw.h
index 826ea877b..4c7715e65 100644
--- a/linux/drivers/media/dvb/ttpci/av7110_hw.h
+++ b/linux/drivers/media/dvb/ttpci/av7110_hw.h
@@ -495,7 +495,7 @@ static int inline vidcom(struct av7110 *av7110, u32 com, u32 arg)
static int inline audcom(struct av7110 *av7110, u32 com)
{
- return av7110_fw_cmd(av7110, COMTYPE_MISC, AV7110_FW_AUDIO_COMMAND, 4,
+ return av7110_fw_cmd(av7110, COMTYPE_MISC, AV7110_FW_AUDIO_COMMAND, 2,
(com>>16), (com&0xffff));
}