diff options
-rw-r--r-- | drivers/media/video/tuner-simple.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c index 61dd26a43976..aba0688d7c1c 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/video/tuner-simple.c | |||
@@ -164,8 +164,11 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq) | |||
164 | break; | 164 | break; |
165 | } | 165 | } |
166 | /* use default tuner_params if desired_type not available */ | 166 | /* use default tuner_params if desired_type not available */ |
167 | if (desired_type != tun->params[j].type) | 167 | if (desired_type != tun->params[j].type) { |
168 | tuner_dbg("IFPCoff = %d: tuner_params undefined for tuner %d\n", | ||
169 | IFPCoff,t->type); | ||
168 | j = 0; | 170 | j = 0; |
171 | } | ||
169 | 172 | ||
170 | for (i = 0; i < tun->params[j].count; i++) { | 173 | for (i = 0; i < tun->params[j].count; i++) { |
171 | if (freq > tun->params[j].ranges[i].limit) | 174 | if (freq > tun->params[j].ranges[i].limit) |