summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0011.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[media] fc0011: Return early, if the frequency is already tuned"Mauro Carvalho Chehab2013-02-111-3/+0
| | | | | | | | | | | | | | | | 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>
* [media] fc0011: Return early, if the frequency is already tunedMichael Büsch2013-02-081-0/+3
| | | | | | | Return early, if we already tuned to a frequency. Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] fc0011: Add some sanity checks and cleanupsMichael Büsch2013-02-081-1/+5
| | | | | | | | Add some sanity checks to the calculations and make the REG_16 register write consistent with the other ones. Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] fc0011: Fix xin value clampingMichael Büsch2013-02-081-7/+2
| | | | | | | Fix the xin value clamping and use clamp_t(). Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] fc0011: fp/fa value overflow fixMichael Büsch2013-02-081-2/+2
| | | | | | | Assign the maximum instead of masking with the maximum on value overflow. Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] common: move media/common/tuners to media/tunersMauro Carvalho Chehab2012-08-131-0/+524
Move the tuners one level up, as the "common" directory will be used by drivers that are shared between more than one driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>