aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 94f367ab5718..cef170cc2ad8 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -891,6 +891,14 @@ static int xc2028_set_analog_freq(struct dvb_frontend *fe,
891 891
892 tuner_dbg("%s called\n", __FUNCTION__); 892 tuner_dbg("%s called\n", __FUNCTION__);
893 893
894 if (p->mode == V4L2_TUNER_RADIO) {
895 type |= FM;
896 if (priv->ctrl.input1)
897 type |= INPUT1;
898 return generic_set_freq(fe, (625l * p->frequency) / 10,
899 T_ANALOG_TV, type, 0);
900 }
901
894 /* if std is not defined, choose one */ 902 /* if std is not defined, choose one */
895 if (!p->std) 903 if (!p->std)
896 p->std = V4L2_STD_MN; 904 p->std = V4L2_STD_MN;