aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0011.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/fc0011.c')
-rw-r--r--drivers/media/tuners/fc0011.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/fc0011.c b/drivers/media/tuners/fc0011.c
index 192b1c7740df..145407dee3db 100644
--- a/drivers/media/tuners/fc0011.c
+++ b/drivers/media/tuners/fc0011.c
@@ -342,6 +342,7 @@ static int fc0011_set_params(struct dvb_frontend *fe)
switch (vco_sel) {
default:
WARN_ON(1);
+ return -EINVAL;
case 0:
if (vco_cal < 8) {
regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);