Skip to content

Commit

Permalink
[media] tuners/xc5000: fix MODE_AIR in xc5000_set_params()
Browse files Browse the repository at this point in the history
There is a missing break so we use XC_RF_MODE_CABLE instead of
XC_RF_MODE_AIR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Feb 5, 2013
1 parent 9b4539b commit cf1364b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ static int xc5000_set_params(struct dvb_frontend *fe)
return -EINVAL;
}
priv->rf_mode = XC_RF_MODE_AIR;
break;
case SYS_DVBC_ANNEX_A:
case SYS_DVBC_ANNEX_C:
dprintk(1, "%s() QAM modulation\n", __func__);
Expand Down

0 comments on commit cf1364b

Please sign in to comment.