aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv0297.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stv0297.c')
-rw-r--r--drivers/media/dvb/frontends/stv0297.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv0297.c b/drivers/media/dvb/frontends/stv0297.c
index 928aca052afe..01eb41990e8a 100644
--- a/drivers/media/dvb/frontends/stv0297.c
+++ b/drivers/media/dvb/frontends/stv0297.c
@@ -606,7 +606,13 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
606 stv0297_set_inversion(state, inversion); 606 stv0297_set_inversion(state, inversion);
607 607
608 /* kick off lock */ 608 /* kick off lock */
609 stv0297_writereg_mask(state, 0x88, 0x08, 0x08); 609 /* Disable corner detection for higher QAMs */
610 if (p->u.qam.modulation == QAM_128 ||
611 p->u.qam.modulation == QAM_256)
612 stv0297_writereg_mask(state, 0x88, 0x08, 0x00);
613 else
614 stv0297_writereg_mask(state, 0x88, 0x08, 0x08);
615
610 stv0297_writereg_mask(state, 0x5a, 0x20, 0x00); 616 stv0297_writereg_mask(state, 0x5a, 0x20, 0x00);
611 stv0297_writereg_mask(state, 0x6a, 0x01, 0x01); 617 stv0297_writereg_mask(state, 0x6a, 0x01, 0x01);
612 stv0297_writereg_mask(state, 0x43, 0x40, 0x40); 618 stv0297_writereg_mask(state, 0x43, 0x40, 0x40);