Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a2e4751 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8b8e444a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1880,6 +1880,7 @@ static int mb86a20s_set_frontend(struct dvb_frontend *fe)


	rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception);
	rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception);
	mb86a20s_reset_counters(fe);
	mb86a20s_reset_counters(fe);
	mb86a20s_stats_not_ready(fe);


	if (fe->ops.i2c_gate_ctrl)
	if (fe->ops.i2c_gate_ctrl)
		fe->ops.i2c_gate_ctrl(fe, 1);
		fe->ops.i2c_gate_ctrl(fe, 1);