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

Commit 7f120887 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] qt1010: do not change frequency during init



Changing cached frequency during init is something no-no.
Make it behave a little bit better. After that device could
survive from suspend/resume when streaming is ongoing.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3851c34a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -395,6 +395,7 @@ static int qt1010_init(struct dvb_frontend *fe)
		if ((err = qt1010_init_meas2(priv, i, &tmpval)))
			return err;

	if (!c->frequency)
		c->frequency = 545000000; /* Sigmatek DVB-110 545000000 */
				      /* MSI Megasky 580 GL861 533000000 */
	return qt1010_set_params(fe);