diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-11 16:38:59 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-11 16:38:59 -0500 |
commit | cdc69ae98b3d8ff337c564e16f497c8816d1a51b (patch) | |
tree | fe4d375f9e9ccfc723018c62d7c59b6a112781c8 /drivers/media | |
parent | cfb046cb800ba306b211fbbe4ac633486e11055f (diff) |
Revert "[media] fc0011: Return early, if the frequency is already tuned"
This reverts commit a92591a7112042f92b609be42bc332d989776e9b.
From: Michael Büsch <m@bues.ch>
To: linux-media@vger.kernel.org
Cc: mchehab@redhat.com
Subject: Re: [git:v4l-dvb/for_v3.9] [media] fc0011: Return early, if the frequency is already tuned
Date: Mon, 11 Feb 2013 21:59:19 +0100
Can you please revert this one again? It might cause issues if the dvb device
is reset/reinitialized.
Requested-by: Michael Büsch <m@bues.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/tuners/fc0011.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/tuners/fc0011.c b/drivers/media/tuners/fc0011.c index 18caab11c94b..3932aa81e18c 100644 --- a/drivers/media/tuners/fc0011.c +++ b/drivers/media/tuners/fc0011.c | |||
@@ -187,9 +187,6 @@ static int fc0011_set_params(struct dvb_frontend *fe) | |||
187 | u8 fa, fp, vco_sel, vco_cal; | 187 | u8 fa, fp, vco_sel, vco_cal; |
188 | u8 regs[FC11_NR_REGS] = { }; | 188 | u8 regs[FC11_NR_REGS] = { }; |
189 | 189 | ||
190 | if (priv->frequency == p->frequency) | ||
191 | return 0; | ||
192 | |||
193 | regs[FC11_REG_7] = 0x0F; | 190 | regs[FC11_REG_7] = 0x0F; |
194 | regs[FC11_REG_8] = 0x3E; | 191 | regs[FC11_REG_8] = 0x3E; |
195 | regs[FC11_REG_10] = 0xB8; | 192 | regs[FC11_REG_10] = 0xB8; |