Return early, if we already tuned to a frequency. Signed-off-by: Michael Buesch <m@xxxxxxx> --- Index: linux/drivers/media/tuners/fc0011.c =================================================================== --- linux.orig/drivers/media/tuners/fc0011.c 2013-01-01 23:25:40.000000000 +0100 +++ linux/drivers/media/tuners/fc0011.c 2013-01-01 23:27:44.985089712 +0100 @@ -187,6 +187,9 @@ u8 fa, fp, vco_sel, vco_cal; u8 regs[FC11_NR_REGS] = { }; + if (priv->frequency == p->frequency) + return 0; + regs[FC11_REG_7] = 0x0F; regs[FC11_REG_8] = 0x3E; regs[FC11_REG_10] = 0xB8; -- Greetings, Michael. PGP: 908D8B0E
Attachment:
signature.asc
Description: PGP signature