Commit cba5d0b2 authored by Janne Huttunen's avatar Janne Huttunen Committed by Mauro Carvalho Chehab

[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: default avatarJanne Huttunen <jahuttun@gmail.com>
Acked-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b83f6715
...@@ -121,7 +121,7 @@ int cxd2820r_get_frontend_c(struct dvb_frontend *fe) ...@@ -121,7 +121,7 @@ int cxd2820r_get_frontend_c(struct dvb_frontend *fe)
if (ret) if (ret)
goto error; goto error;
switch ((buf[0] >> 0) & 0x03) { switch ((buf[0] >> 0) & 0x07) {
case 0: case 0:
c->modulation = QAM_16; c->modulation = QAM_16;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment