[media] mb86a20s: cleanup the status at set_frontend()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 18:02:23 +0000 (15:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 19:35:16 +0000 (16:35 -0300)
As the device got re-initialized, the stats should vanish
until the device gets lock again.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c

index 746adad..1c135aa 100644 (file)
@@ -1880,6 +1880,7 @@ static int mb86a20s_set_frontend(struct dvb_frontend *fe)
 
        rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception);
        mb86a20s_reset_counters(fe);
+       mb86a20s_stats_not_ready(fe);
 
        if (fe->ops.i2c_gate_ctrl)
                fe->ops.i2c_gate_ctrl(fe, 1);