summaryrefslogtreecommitdiff
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/tuners/fc0011.c b/drivers/media/tuners/fc0011.c
index e4882546c283..3089f2ebcbfe 100644
--- a/drivers/media/tuners/fc0011.c
+++ b/drivers/media/tuners/fc0011.c
@@ -247,8 +247,8 @@ static int fc0011_set_params(struct dvb_frontend *fe)
fa += 8;
}
if (fp > 0x1F) {
- fp &= 0x1F;
- fa &= 0xF;
+ fp = 0x1F;
+ fa = 0xF;
}
if (fa >= fp) {
dev_warn(&priv->i2c->dev,