summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-dvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-07-08 23:23:08 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-07-08 23:23:08 -0400
commitbd3a5b6d784b2cc99e76226249a850e6f568bf78 (patch)
treed3a65a13e6774af02538fa6de55624f8b4d42b84 /linux/drivers/media/video/au0828/au0828-dvb.c
parent91d1655f34d7ffd36e3e68c6bdbf365cbc6d0ddc (diff)
downloadmediapointer-dvb-s2-bd3a5b6d784b2cc99e76226249a850e6f568bf78.tar.gz
mediapointer-dvb-s2-bd3a5b6d784b2cc99e76226249a850e6f568bf78.tar.bz2
au0828: add support for new revision of HVR950Q
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-dvb.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-dvb.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-dvb.c b/linux/drivers/media/video/au0828/au0828-dvb.c
index 0a835354f..4c1dfdd8d 100644
--- a/linux/drivers/media/video/au0828/au0828-dvb.c
+++ b/linux/drivers/media/video/au0828/au0828-dvb.c
@@ -29,6 +29,7 @@
#include "au0828.h"
#include "au8522.h"
#include "xc5000.h"
+#include "mxl5007t.h"
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
@@ -46,6 +47,11 @@ static struct xc5000_config hauppauge_hvr950q_tunerconfig = {
.tuner_callback = au0828_tuner_callback
};
+static struct mxl5007t_config mxl5007t_hvr950q_config = {
+ .xtal_freq_hz = MxL_XTAL_24_MHZ,
+ .if_freq_hz = MxL_IF_6_MHZ,
+};
+
/*-------------------------------------------------------------------*/
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
static void urb_completion(struct urb *purb, struct pt_regs *regs)
@@ -347,6 +353,15 @@ int au0828_dvb_register(struct au0828_dev *dev)
&dev->i2c_adap,
&hauppauge_hvr950q_tunerconfig, dev);
break;
+ case AU0828_BOARD_HAUPPAUGE_HVR950Q_MXL:
+ dvb->frontend = dvb_attach(au8522_attach,
+ &hauppauge_hvr950q_config,
+ &dev->i2c_adap);
+ if (dvb->frontend != NULL)
+ dvb_attach(mxl5007t_attach, dvb->frontend,
+ &dev->i2c_adap, 0x60,
+ &mxl5007t_hvr950q_config);
+ break;
default:
printk(KERN_WARNING "The frontend of your DVB/ATSC card "
"isn't supported yet\n");