- added offset parameter for adjusting tuner offset by hand
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
#include <linux/videodev.h>
#include <media/tuner.h>
+static int offset = 0;
+module_param(offset, int, 0666);
+MODULE_PARM_DESC(offset,"Allows to specify an offset for tuner");
+
/* ---------------------------------------------------------------------- */
/* tv standard selection for Temic 4046 FM5
IFPCoff = 623;
}
- div=freq + IFPCoff;
+ div=freq + IFPCoff + offset;
if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) {
buffer[0] = tun->config;
buffer[1] = config;