diff options
author | Johannes Stezenbach <devnull@localhost> | 2003-04-10 18:48:10 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2003-04-10 18:48:10 +0000 |
commit | d8bcca2542551e853ac3e50012c280062af0987b (patch) | |
tree | 9ea8db02a9f77444ab6f4c3aeee31ee70900f9fa /linux/drivers/media/dvb/ttpci/av7110.c | |
parent | 5b302d576203cd2c71aabc99cbc614bb90aaff76 (diff) | |
download | mediapointer-dvb-s2-d8bcca2542551e853ac3e50012c280062af0987b.tar.gz mediapointer-dvb-s2-d8bcca2542551e853ac3e50012c280062af0987b.tar.bz2 |
merge firmware fix for DMX_GET_STC from DVB CVS
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index cb0441f28..07eb817f4 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -2994,11 +2994,13 @@ static int dvb_get_stc(dmx_demux_t *demux, unsigned int num, if (num != 0) return -EINVAL; - ret = CommandRequest(av7110, &tag, 0, fwstc, 3); + ret = CommandRequest(av7110, &tag, 0, fwstc, 4); if (ret) { printk(KERN_ERR "%s: CommandRequest error\n", __FUNCTION__); return -EIO; } + DEB_EE(("av7110: fwstc = %04hx %04hx %04hx %04hx\n", + fwstc[0], fwstc[1], fwstc[2], fwstc[3])); *stc = (((uint64_t)fwstc[2] & 1) << 32) | (((uint64_t)fwstc[1]) << 16) | ((uint64_t)fwstc[0]); |