[media] media: stv0367: fix frontend modulation initialization with FE_CAB_MOD_QAM256
authorMaks Naumov <maksqwe1@ukr.net>
Fri, 15 Aug 2014 19:23:20 +0000 (16:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Sep 2014 20:31:52 +0000 (17:31 -0300)
It was using the wrong constant for QAM256 on get_frontend.

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/stv0367.c

index 59f622a..7f01068 100644 (file)
@@ -3163,7 +3163,7 @@ static int stv0367cab_get_frontend(struct dvb_frontend *fe)
        case FE_CAB_MOD_QAM128:
                p->modulation = QAM_128;
                break;
-       case QAM_256:
+       case FE_CAB_MOD_QAM256:
                p->modulation = QAM_256;
                break;
        default: