aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-simple.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-09 09:17:43 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-21 11:52:55 -0500
commitefcf55cb5c21d7142aeb1a5a4c14e40960600bd6 (patch)
tree0f0b87521ce22495623fad9e1534b8164e0eec57 /drivers/media/video/tuner-simple.c
parentb05005772f34497eb2b7415a651fe785cbe70e16 (diff)
V4L/DVB (3419): This patch fixes Tuner TNF5335 family
Radio now works. Tuner now supports both PAL/D and STD/MN models Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-simple.c')
-rw-r--r--drivers/media/video/tuner-simple.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index aba0688d7c1c..5d7abed71674 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -364,6 +364,9 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq)
364 case TUNER_PHILIPS_FMD1216ME_MK3: 364 case TUNER_PHILIPS_FMD1216ME_MK3:
365 buffer[3] = 0x19; 365 buffer[3] = 0x19;
366 break; 366 break;
367 case TUNER_TNF_5335MF:
368 buffer[3] = 0x11;
369 break;
367 case TUNER_PHILIPS_FM1256_IH3: 370 case TUNER_PHILIPS_FM1256_IH3:
368 div = (20 * freq) / 16000 + (int)(33.3 * 20); /* IF 33.3 MHz */ 371 div = (20 * freq) / 16000 + (int)(33.3 * 20); /* IF 33.3 MHz */
369 buffer[3] = 0x19; 372 buffer[3] = 0x19;