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

Commit da31934f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] rtl820t: Add a debug msg when PLL gets locked



	[ 2255.342797] r820t 3-001a: generic_set_freq: PLL locked on frequency 725476191 Hz, gain=45

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: default avatarAntti Palosaari <crope@iki.fi>
parent 7a5ef30d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1215,6 +1215,12 @@ static int generic_set_freq(struct dvb_frontend *fe,
		goto err;

	rc = r820t_sysfreq_sel(priv, freq, type, std, delsys);
	if (rc < 0)
		goto err;

	tuner_dbg("%s: PLL locked on frequency %d Hz, gain=%d\n",
		  __func__, freq, r820t_read_gain(priv));

err:

	if (rc < 0)