[media] cxd2820r: Fix an incorrect modulation type bitmask

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>
This commit is contained in:
Janne Huttunen 2012-05-30 05:28:46 -03:00 committed by Mauro Carvalho Chehab
parent b83f671566
commit cba5d0b20e

View File

@ -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;