From: Maks Naumov Date: Fri, 15 Aug 2014 19:23:20 +0000 (-0300) Subject: [media] media: stv0367: fix frontend modulation initialization with FE_CAB_MOD_QAM256 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eafeda9666f634abc1b133ee4b578708269d99ab;p=linux-beck.git [media] media: stv0367: fix frontend modulation initialization with FE_CAB_MOD_QAM256 It was using the wrong constant for QAM256 on get_frontend. Signed-off-by: Maks Naumov Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/stv0367.c b/drivers/media/dvb-frontends/stv0367.c index 59f622ae80e8..7f010683dbf8 100644 --- a/drivers/media/dvb-frontends/stv0367.c +++ b/drivers/media/dvb-frontends/stv0367.c @@ -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: