From 759f96753505b99e831aa263766f7f6caafa4394 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 24 Aug 2006 18:43:45 -0700 Subject: tda9887: add configuration setting for L standard PLL gating From: Trent Piepho Add a tuner config parameter for TDA9887, default_pll_gating_18, that changes the L standard PLL gating value from 36% to 0% (datasheet says 0%, tda9887 code says 18%). Turn this on for Microtune 4049FM5, as recomended by tuner datasheet. Signed-off-by: Trent Piepho --- linux/drivers/media/video/tuner-simple.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drivers/media/video/tuner-simple.c') diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index 25a1034c1..b7e6f092d 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -356,6 +356,8 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq) else if (params->default_top_high) config |= TDA9887_TOP(params->default_top_high); } + if (params->default_pll_gating_18) + config |= TDA9887_GATING_18; i2c_clients_command(c->adapter, TDA9887_SET_CONFIG, &config); } tuner_dbg("tv 0x%02x 0x%02x 0x%02x 0x%02x\n", -- cgit v1.2.3