Skip to content

Commit

Permalink
[media] cxd2820r: Fix an incorrect modulation type bitmask
Browse files Browse the repository at this point in the history
Fix an incorrect modulation type bitmask. This allows QAM256 also to be
correctly reported.

Signed-off-by: Janne Huttunen <jahuttun@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Janne Huttunen authored and Mauro Carvalho Chehab committed Jun 18, 2012
1 parent b83f671 commit cba5d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/cxd2820r_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int cxd2820r_get_frontend_c(struct dvb_frontend *fe)
if (ret)
goto error;

switch ((buf[0] >> 0) & 0x03) {
switch ((buf[0] >> 0) & 0x07) {
case 0:
c->modulation = QAM_16;
break;
Expand Down

0 comments on commit cba5d0b

Please sign in to comment.