summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164
Commit message (Collapse)AuthorAgeFilesLines
* V4L/DVB (13288): adding __init/__exit macros to various driversPeter Huewe2009-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of the following drivers in media video: drivers/media/video/ivtv/ivtv-driver.c drivers/media/video/cx18/cx18-driver.c drivers/media/video/davinci/dm355_ccdc.c drivers/media/video/davinci/dm644x_ccdc.c drivers/media/video/saa7164/saa7164-core.c drivers/media/video/saa7134/saa7134-core.c drivers/media/video/cx23885/cx23885-core.c Cc: Hermann Pitton <hermann-pitton@arcor.de> Acked-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Andy Walls <awalls@radix.net> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13201): saa7164: disable tda18271 slave tuner output on slave in ↵Michael Krufky2009-12-051-0/+1
| | | | | | | | | | | | standby mode Enable the standby mode optimization to disable the tda18271 slave tuner output / loop thru options when in low power mode on the slave tuner, only. The master tuner must always leave slave tuner output / loop thru enabled. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13287): ce6230 - saa7164-cmd: Fix wrong sizeofJean Delvare2009-11-071-1/+1
| | | | | | | | | | | Which is why I have always preferred sizeof(struct foo) over sizeof(var). Cc: Antti Palosaari <crope@iki.fi> Acked-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* media: video: Fix build in saa7164Ingo Molnar2009-09-224-10/+10
| | | | | | | | | | | | | | | | | | | | | | | -tip testing found that the x86 build (64-bit allyesconfig) fails due to: LD vmlinux.o drivers/built-in.o:(.bss+0x4b648): multiple definition of `debug' arch/x86/built-in.o:(.kprobes.text+0x88): first defined here ld: Warning: size of symbol `debug' changed from 90 in arch/x86/built-in.o to 4 in drivers/built-in.o make: *** [vmlinux.o] Error 1 This is because recent saa7164 changes introduced a global symbol named 'debug'. The x86 platform code already defines a 'debug' symbol. (which is named in a too generic way as well - but it can be used nicely to weed out too generic symbols in drivers ;-) Rename it to saa_debug. [mchehab@redhat.com: use module_param_named to preserve old name] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12993a): saa7164: Fix compilation warning on i386Mauro Carvalho Chehab2009-09-191-4/+4
| | | | | | | | drivers/media/video/saa7164/saa7164-buffer.c: In function ‘saa7164_buffer_alloc’: drivers/media/video/saa7164/saa7164-buffer.c:110: warning: cast to pointer from integer of different size drivers/media/video/saa7164/saa7164-buffer.c:112: warning: cast to pointer from integer of different size Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12976): SAA7164: Removed bus registration messages from driver startupSteven Toth2009-09-191-4/+1
| | | | | | | SAA7164: Removed bus registration messages from driver startup Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12975): SAA7164: Remove the i2c client_attach/detach support, no ↵Steven Toth2009-09-191-25/+0
| | | | | | | | | longer required. SAA7164: Remove the i2c client_attach/detach support, no longer required. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12974): SAA7164: Remove the SAA7164 bus id, no longer required.Steven Toth2009-09-191-1/+0
| | | | | | | SAA7164: Remove the SAA7164 bus id, no longer required. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12970): saa7164: fix 64bit build warningMichael Krufky2009-09-191-1/+1
| | | | | | | | | | | | Fix the following build warning: CC [M] saa7164-core.o saa7164-core.c: In function 'saa7164_buffer_deliver': saa7164-core.c:113: warning: passing argument 2 of 'dvb_dmx_swfilter_packets' from incompatible pointer type Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12968): saa7164: fix Kconfig: remove HOTPLUG dependencyMichael Krufky2009-09-191-1/+0
| | | | | Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12967): saa7164: fix Kconfig: rename DVB_FE_CUSTOMIZE to ↵Michael Krufky2009-09-191-1/+1
| | | | | | | MEDIA_TUNER_CUSTOMISE Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12946): SAA7164: Add support for a new HVR-2250 hardware revisionSteven Toth2009-09-191-0/+4
| | | | | | | SAA7164: Add support for a new HVR-2250 hardware revision Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12945): SAA7164: Ensure the HVR-2200 second tuner is configured in ↵Steven Toth2009-09-191-1/+1
| | | | | | | | | slave mode. SAA7164: Ensure the HVR-2200 second tuner is configured in slave mode. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12944): SAA7164: Minor i2c assignment cleanupSteven Toth2009-09-191-4/+1
| | | | | | | SAA7164: Minor i2c assignment cleanup Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12943): SAA7164: Add a warning about addr usageSteven Toth2009-09-191-0/+2
| | | | | | | SAA7164: Remove meaningless if'0 code Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12942): SAA7164: HVR2250 changes related to attach time tuner ↵Steven Toth2009-09-191-4/+20
| | | | | | | | | | | | | configuration Ensure that by default all tuners are set correctly to master/slave mode. For all HVR2250's, ensure slave based tuners are caliberated during attach to avoid locking problems on tuner# above channel 91. HVR2200 tuner attach time to be reviewed in a future patch. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12941): SAA7164: Removed spurious debugSteven Toth2009-09-191-11/+0
| | | | | | | SAA7164: Removed spurious debug Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12940): SAA7164: IRQ / message timeout related changeSteven Toth2009-09-193-1/+39
| | | | | | | | | | In some cases we're seeing large timeouts on commands. I'm changing the implementation so that the deferred worker checks the PCI bus for any messages and signals the waiting caller accordingly. The previous mechanism was too unreliable. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12939): SAA7164: Removed a duplicate call to address any PCI quirks.Steven Toth2009-09-191-2/+0
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12938): SAA7164: Increase the firmware command timeout to avoid ↵Steven Toth2009-09-192-1/+7
| | | | | | | | | | | | firmware errors. The firmware typically responds in < 50ms and, via the interrupts and deferred work queue the caller (blocked in the driver) is signalled very efficiently. In a highly stressed system this can take many multiples of seconds. So, we need a larger maximum timeout for busy systems. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12937): SAA7164: Cleanup a printkSteven Toth2009-09-191-1/+3
| | | | | | | Cleanup a printk and output two helpful driver params in debug mode. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12936): SAA7164: Added waitsecs module parameterSteven Toth2009-09-193-2/+8
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12935): SAA7164: Ensure we specify I/F's for all bandwidthsSteven Toth2009-09-191-2/+6
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12934): SAA7164: Fix i2c eeprom read errors during load (some boards).Steven Toth2009-09-191-4/+4
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12933): SAA7164: Fix IRQ related system hang when firmware is not ↵Steven Toth2009-09-191-16/+13
| | | | | | | found. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12932): SAA7164: Fixed the missing eeprom parse on a specific board.Steven Toth2009-09-191-0/+1
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12931): SAA7164: Fix the 88021 definition to work with production ↵Steven Toth2009-09-193-2/+61
| | | | | | | boards. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12930): SAA7164: Removed spurious I2C errors during driver load ↵Steven Toth2009-09-193-23/+0
| | | | | | | with DVB-T boards. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12929): SAA7164: OOPS avoidance during interrupt handlingSteven Toth2009-09-191-0/+6
| | | | | Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12928): SAA7164: Increase firmware load toleranceSteven Toth2009-09-191-6/+4
| | | | | | | | It's timing out and aborting firmware load too quickly on some platforms, this increases the upper limit. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12927): SAA7164: Remove volatiles for PCI writes (coding style ↵Steven Toth2009-09-193-10/+10
| | | | | | | violation) Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12926): SAA7164: Email address changeSteven Toth2009-09-191-1/+1
| | | | | | | SAA7164: Email address change Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12925): SAA7164: Adjust I/F's to the TDA10048 enabling DVB-T lockSteven Toth2009-09-191-2/+6
| | | | | | | SAA7164: Adjust I/F's to the TDA10048 enabling DVB-T lock Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12924): SAA7164: Fix some 32/64bit compile time warningsSteven Toth2009-09-196-32/+26
| | | | | | | SAA7164: Fix some 32/64bit compile time warnings Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12923): SAA7164: Add support for the NXP SAA7164 siliconSteven Toth2009-09-1914-0/+5310
This patch adds support for all of the known shipping Hauppauge HVR-2200 and HVR-2250 boards. Digital TV ATSC/QAM and DVB-T is enabled at this time. Both tuners are supported. Volatiles and typedefs need rework, the rest is coding style compliant. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud