diff options
Diffstat (limited to 'drivers/media/common/tuners/tuner-simple.c')
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index aa773a658a2a..fb3f3b3adaba 100644 --- a/drivers/media/common/tuners/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c | |||
@@ -142,6 +142,7 @@ static inline int tuner_stereo(const int type, const int status) | |||
142 | case TUNER_PHILIPS_FM1236_MK3: | 142 | case TUNER_PHILIPS_FM1236_MK3: |
143 | case TUNER_PHILIPS_FM1256_IH3: | 143 | case TUNER_PHILIPS_FM1256_IH3: |
144 | case TUNER_LG_NTSC_TAPE: | 144 | case TUNER_LG_NTSC_TAPE: |
145 | case TUNER_TCL_MF02GIP_5N: | ||
145 | return ((status & TUNER_SIGNAL) == TUNER_STEREO_MK3); | 146 | return ((status & TUNER_SIGNAL) == TUNER_STEREO_MK3); |
146 | default: | 147 | default: |
147 | return status & TUNER_STEREO; | 148 | return status & TUNER_STEREO; |
@@ -492,8 +493,10 @@ static int simple_radio_bandswitch(struct dvb_frontend *fe, u8 *buffer) | |||
492 | case TUNER_PHILIPS_FM1216ME_MK3: | 493 | case TUNER_PHILIPS_FM1216ME_MK3: |
493 | case TUNER_PHILIPS_FM1236_MK3: | 494 | case TUNER_PHILIPS_FM1236_MK3: |
494 | case TUNER_PHILIPS_FMD1216ME_MK3: | 495 | case TUNER_PHILIPS_FMD1216ME_MK3: |
496 | case TUNER_PHILIPS_FMD1216MEX_MK3: | ||
495 | case TUNER_LG_NTSC_TAPE: | 497 | case TUNER_LG_NTSC_TAPE: |
496 | case TUNER_PHILIPS_FM1256_IH3: | 498 | case TUNER_PHILIPS_FM1256_IH3: |
499 | case TUNER_TCL_MF02GIP_5N: | ||
497 | buffer[3] = 0x19; | 500 | buffer[3] = 0x19; |
498 | break; | 501 | break; |
499 | case TUNER_TNF_5335MF: | 502 | case TUNER_TNF_5335MF: |
@@ -765,6 +768,7 @@ static void simple_set_dvb(struct dvb_frontend *fe, u8 *buf, | |||
765 | 768 | ||
766 | switch (priv->type) { | 769 | switch (priv->type) { |
767 | case TUNER_PHILIPS_FMD1216ME_MK3: | 770 | case TUNER_PHILIPS_FMD1216ME_MK3: |
771 | case TUNER_PHILIPS_FMD1216MEX_MK3: | ||
768 | if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ && | 772 | if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ && |
769 | params->frequency >= 158870000) | 773 | params->frequency >= 158870000) |
770 | buf[3] |= 0x08; | 774 | buf[3] |= 0x08; |
@@ -1038,7 +1042,6 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, | |||
1038 | case 0: | 1042 | case 0: |
1039 | mutex_unlock(&tuner_simple_list_mutex); | 1043 | mutex_unlock(&tuner_simple_list_mutex); |
1040 | return NULL; | 1044 | return NULL; |
1041 | break; | ||
1042 | case 1: | 1045 | case 1: |
1043 | fe->tuner_priv = priv; | 1046 | fe->tuner_priv = priv; |
1044 | 1047 | ||