aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tuner-simple.c')
-rw-r--r--drivers/media/video/tuner-simple.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 9bd52993d366..95818bfcb5c0 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -902,11 +902,12 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
902 171.2=16*10.70 FM Radio (at set_radio_freq) 902 171.2=16*10.70 FM Radio (at set_radio_freq)
903 */ 903 */
904 904
905 if (t->std & V4L2_STD_NTSC_M_JP) { 905 if (t->std == V4L2_STD_NTSC_M_JP) {
906 IFPCoff = 940; 906 IFPCoff = 940;
907 } else if (t->std & V4L2_STD_MN) { 907 } else if ((t->std & V4L2_STD_MN) &&
908 !(t->std & ~V4L2_STD_MN)) {
908 IFPCoff = 732; 909 IFPCoff = 732;
909 } else if (t->std & V4L2_STD_SECAM_LC) { 910 } else if (t->std == V4L2_STD_SECAM_LC) {
910 IFPCoff = 543; 911 IFPCoff = 543;
911 } else { 912 } else {
912 IFPCoff = 623; 913 IFPCoff = 623;