From: Thierry MERLE Date: Mon, 4 Dec 2006 11:31:42 +0000 (-0300) Subject: V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8159a3684007e0ded915cb7465c9534a2650c53;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal - remove any specific TDA9887_SET_CONFIG of usbvision driver - add fm_gain_normal=1 to the MT4049FM5 tuner for radio functionality Signed-off-by: Thierry MERLE Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index 1256c64af4db..74c3e6f96f1a 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c @@ -651,6 +651,7 @@ static struct tuner_params tuner_microtune_4049_fm5_params[] = { .has_tda9887 = 1, .port1_invert_for_secam_lc = 1, .default_pll_gating_18 = 1, + .fm_gain_normal=1, }, }; diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c index b5aa3185402d..0eb3ddcd0f3e 100644 --- a/drivers/media/video/usbvision/usbvision-core.c +++ b/drivers/media/video/usbvision/usbvision-core.c @@ -2585,14 +2585,12 @@ static int attach_inform(struct i2c_client *client) case 0x4b: { struct tuner_setup tun_setup; - unsigned int tda9887_conf = TDA9887_GAIN_NORMAL; tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; tun_setup.type = TUNER_TDA9887; tun_setup.addr = client->addr; call_i2c_clients(usbvision, TUNER_SET_TYPE_ADDR, &tun_setup); - call_i2c_clients(usbvision,TDA9887_SET_CONFIG, &tda9887_conf); break; }