summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorJanne Huttunen2012-05-30 10:28:46 +0200
committerMauro Carvalho Chehab2012-06-18 21:35:06 +0200
commitcba5d0b20e7c75dc06e3a609059f17f11c843d94 (patch)
tree2af7ce09063edacd32c523cfa72a8d32a811121d /drivers/media/dvb/frontends/cxd2820r_c.c
parent[media] em28xx: Show a warning if the board does not support remote controls (diff)
downloadkernel-qcow2-linux-cba5d0b20e7c75dc06e3a609059f17f11c843d94.tar.gz
kernel-qcow2-linux-cba5d0b20e7c75dc06e3a609059f17f11c843d94.tar.xz
kernel-qcow2-linux-cba5d0b20e7c75dc06e3a609059f17f11c843d94.zip
[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>
Diffstat (limited to 'drivers/media/dvb/frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb/frontends/cxd2820r_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r_c.c b/drivers/media/dvb/frontends/cxd2820r_c.c
index 945404991529..ed3b0ba624de 100644
--- a/drivers/media/dvb/frontends/cxd2820r_c.c
+++ b/drivers/media/dvb/frontends/cxd2820r_c.c
@@ -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;