diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-19 07:59:33 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-19 07:59:33 -0200 |
commit | e2517f5ac0ad6762952bec36a9ed14c84f5b7cbe (patch) | |
tree | ed439bb744bef4c5b8e4709cc43beef1052e4956 /linux | |
parent | 6ea08cc1ad34d8e04f2ccd7c310c33177f698425 (diff) | |
download | mediapointer-dvb-s2-e2517f5ac0ad6762952bec36a9ed14c84f5b7cbe.tar.gz mediapointer-dvb-s2-e2517f5ac0ad6762952bec36a9ed14c84f5b7cbe.tar.bz2 |
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Add preliminary support for radio on CX88_BOARD_MSI_TVANYWHERE_MASTER
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 2a6951401..113325756 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -27,6 +27,7 @@ #include "compat.h" #include "cx88.h" +#include "tea5767.h" static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; @@ -2025,6 +2026,23 @@ static void cx88_card_setup(struct cx88_core *core) core->name, i); } break; + case CX88_BOARD_MSI_TVANYWHERE_MASTER: + { + struct v4l2_priv_tun_config tea5767_cfg; + struct tea5767_ctrl ctl; + + memset (&ctl,0,sizeof(ctl)); + + ctl.high_cut=1; + ctl.st_noise=1; + ctl.deemph_75=1; + ctl.xtal_freq=TEA5767_HIGH_LO_13MHz; + + tea5767_cfg.tuner = TUNER_TEA5767; + tea5767_cfg.priv = &ctl; + + cx88_call_i2c_clients (core, TUNER_SET_CONFIG, &tea5767_cfg); + } } } |