diff options
Diffstat (limited to 'linux/drivers/media/video/tda9887.c')
-rw-r--r-- | linux/drivers/media/video/tda9887.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c index 567288476..827b65e90 100644 --- a/linux/drivers/media/video/tda9887.c +++ b/linux/drivers/media/video/tda9887.c @@ -63,7 +63,6 @@ struct tda9887 { unsigned int radio; unsigned int config; unsigned int pinnacle_id; - unsigned int philips_fmd_id; unsigned int using_v4l2; unsigned int radio_mode; }; @@ -245,13 +244,6 @@ static struct tvnorm radio_mono = { cRadioIF_38_90 ), }; -static struct tvnorm radio_philips_fmd = { - .name = "radio", - .b = ( cFmRadio | cQSS | cAutoMuteFmActive), - .c = ( cAudioGain6 | cDeemphasis50 | cDeemphasisOFF | 0x1f), - .e = ( cGating_36 | cTunerGainLow | cRadioIF_38_90 | cAudioIF_5_5 ), -}; - /* ---------------------------------------------------------------------- */ static void dump_read_message(unsigned char *buf) @@ -384,8 +376,6 @@ static int tda9887_set_tvnorm(struct tda9887 *t, char *buf) int i; if (t->radio) { - if (t-> philips_fmd_id) - norm = &radio_philips_fmd; if (t->radio_mode == V4L2_TUNER_MODE_MONO) norm = &radio_mono; else @@ -587,10 +577,6 @@ static int tda9887_configure(struct tda9887 *t) if (UNSET != t->pinnacle_id) { tda9887_set_pinnacle(t,buf); } - if ((t->radio) && (t->philips_fmd_id)) { - buf[1] &= ~cOutputPort1Inactive; - buf[1] &= ~cOutputPort2Inactive; - } tda9887_set_config(t,buf); tda9887_set_insmod(t,buf); @@ -642,7 +628,6 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr, t->client = client_template; t->std = 0; t->pinnacle_id = UNSET; - t->philips_fmd_id = 0; t->radio_mode = V4L2_TUNER_MODE_STEREO; i2c_set_clientdata(&t->client, t); @@ -711,9 +696,6 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg) tda9887_configure(t); break; } - case AUDC_CONFIG_PHILIPS_FMD: - t->philips_fmd_id = 1; - break; case TDA9887_SET_CONFIG: { int *i = arg; |