Skip to content

Commit

Permalink
[media] rtl820t: Add a debug msg when PLL gets locked
Browse files Browse the repository at this point in the history
	[ 2255.342797] r820t 3-001a: generic_set_freq: PLL locked on frequency 725476191 Hz, gain=45

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
  • Loading branch information
Mauro Carvalho Chehab committed Apr 17, 2013
1 parent 7a5ef30 commit da31934
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da31934

Please sign in to comment.