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

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

V4L/DVB (3084): Added a new debug msg to help identifying tuner Problems



- Added a new debug msg to help identifying tuner Problems

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 5c07db0c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -913,6 +913,13 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
	}

	div=freq + IFPCoff + offset;

	tuner_dbg("Freq= %d.%02d MHz, V_IF=%d.%02d MHz, Offset=%d.%02d MHz, div=%0d\n",
					freq / 16, freq % 16 * 100 / 16,
					IFPCoff / 16, IFPCoff % 16 * 100 / 16,
					offset / 16, offset % 16 * 100 / 16,
					div);

	if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) {
		buffer[0] = tun->config;
		buffer[1] = config;