diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-02 13:02:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 14:35:16 -0500 |
commit | 3a2e47519ebbef9b1545cda0525e2fce64c437b7 (patch) | |
tree | 0eb5ec27cf7ad6107bcaff9485e283af9511d142 | |
parent | 8b8e444a271165bce923c98417334f9b989cca20 (diff) |
[media] mb86a20s: cleanup the status at set_frontend()
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>
-rw-r--r-- | drivers/media/dvb-frontends/mb86a20s.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index 746adadfe8d5..1c135aa9df44 100644 --- a/drivers/media/dvb-frontends/mb86a20s.c +++ b/drivers/media/dvb-frontends/mb86a20s.c | |||
@@ -1880,6 +1880,7 @@ static int mb86a20s_set_frontend(struct dvb_frontend *fe) | |||
1880 | 1880 | ||
1881 | rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception); | 1881 | rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception); |
1882 | mb86a20s_reset_counters(fe); | 1882 | mb86a20s_reset_counters(fe); |
1883 | mb86a20s_stats_not_ready(fe); | ||
1883 | 1884 | ||
1884 | if (fe->ops.i2c_gate_ctrl) | 1885 | if (fe->ops.i2c_gate_ctrl) |
1885 | fe->ops.i2c_gate_ctrl(fe, 1); | 1886 | fe->ops.i2c_gate_ctrl(fe, 1); |