summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-video.c
AgeCommit message (Collapse)Author
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Fix v4l-dvb backward compatibilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-24merge: http://linuxtv.org/hg/~hhackmann/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21Backport: make file_operations constMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Backport a kernel patch by Arjan van de Ven <arjan@linux.intel.com> that made all file_operations instances const. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-17some saa7134 cleanupsHartmut Hackmann
From: Heikki Orsila <shdl@zakalwe.fi> - use generic sort instead of bubblesort - removed useless saa7134_video_fini function - small coding style changes Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2007-01-23Added support for tda827x tuners with preamlifiersHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch contains - new tuning code for the tda827xa silicon tuner. - controls the preamplifier of some boards with this tuner. - support for the Philips Tiger S hybrid DVB-T reference design. - reworked the saa7134-dvb modulue to get rid of most of the small board specific functions. It depends on the changesets: 5119:9e5c364c59bb 5120:2c31f2803f53 and 5121:8b0ffe2a46a7 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-10-07Support status readout for saa713x based FM radioHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch adds readout for stereo and signal level for saa713x cards which use the saa713x as FM demodulator. These are many cards based on saa7133, tda8290 and tda8275a. FM channel search should work now. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-10-03SAA713x: fixed compile warning in SECAM fixupHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The variable fixup could be used uninitialized. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-10-03saa713x audio fixesHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This change fixes the following issues: - resolve the SECAM D/K vs SECAM-L sound conflict It is now possible to select the SECAM version either by the VIDEOIOC_S_STD IO control or by the new secam= insmod option. The driver now adapts its audio standard search list to the selected standard. - don't trigger a sound standard search when a LINE input is selected. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-30Fix a typo that caused some compat stuff to not workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Config option typo: -#ifdef CONFIG_V4L1_COMPAT +#ifdef CONFIG_VIDEO_V4L1_COMPAT Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23Fix for compilation without V4L1 or V4L1_COMPATMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Removed usage of HAVE_V4L1 Including videodev.h will just include videodev2.h if V4L1 is not supported V4L1 code at core drivers will honor CONFIG_V4L1_COMPAT stuff Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-15Support non interlaced capture by default for saa713xHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch just sets the option noninterlaced to 1 by default since it has no known disadvantages. It is still possibe to get the old behaviour by setting noninterlaced=0. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-04-11Merge: from V4L1 treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-11Since we are not using CVS, $Id makes no sense anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-17Fixed no_overlay option and quirks on saa7134 driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Merging from mchehab vivi branchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13BUG_ON() Conversion in drivers/video/mediaMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Make video_buf more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-11From: Panagiotis Issaris <takis@issaris.org>Mauro Carvalho Chehab
Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. kernel-sync Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-10em28xx IR fixup and explicit compat_ioctl32 handlerMauro Carvalho Chehab
- Commented the code to avoid repeating events when pressing IR keys. - Included explicit compat_ioctl32 handler. CC: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-09Moves 32 bit ioctl compat handler to V4L sybsystemMauro Carvalho Chehab
From: Arnd Bergmann <arnd@arndb.de> This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-18 * ../linux/drivers/media/video/cx88/cx88-video.c: (radio_do_ioctl):Nickolay V. Shmyrev
* ../linux/drivers/media/video/saa7134/saa7134-video.c: (video_do_ioctl), (radio_do_ioctl): - Set tuner type in VIDIOC_G_TUNER. Signed-off-by: Elad Lahav <elad_lahav@users.sourceforge.net>
2005-10-17 - Some changes to allow compiling cx88 and saa7134 withoutMauro Carvalho Chehab
V4L1 support. - This patch will help obsoleting V4L1 API. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespaces Cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-06 * saa7134-cards.c:Nickolay V. Shmyrev
* saa7134-video.c: (saa7134_video_init1): * saa7134.h: - Implement some differences in video output port register initialization between existing boards and RTD Embedded Technologies VFG7300 boards. Signed-off-by: Robert W. Boone <rboone@rtd.com>
2005-09-14 * cx88-core.c:Nickolay V. Shmyrev
- Remove some #if 0 which doesn't have any sense Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-14 * saa7134-cards.c: (saa7134_board_init1):Nickolay V. Shmyrev
* saa7134-reg.h: * saa7134-video.c: (video_do_ioctl): * saa7134.h: - Add new RTD cards Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Robert W. Boone <rboone@rtd.com>
2005-08-18Removed trailing whitespace.Michael Krufky
2005-08-17 * cx88-dvb.c: (lgdt330x_pll_set):Nickolay V. Shmyrev
* cx88-video.c: (video_release): * mt20xx.c: (microtune_init): * saa7134-video.c: (video_release): * tda8290.c: (standby), (tda8290_init): * tda9887.c: (tda9887_set_tvnorm), (tda9887_configure), (tda9887_command): * tea5767.c: (set_radio_freq), (tea5767_standby), (tea5767_tuner_init): * tuner-core.c: (set_addr), (check_mode), (set_mode), (tuner_command): * tuner-simple.c: (default_tuner_init): * tuner.h: - New tuner standby API.
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-28 * cx88-core.c, cx88-dvb.c, cx88-input.c:Michael Krufky
* lgdt3302.c, lgdt3302_priv.h, or51132.c: * saa7134-cards.c, saa7134-core.c: * saa7134-dvb.c, saa7134-i2c.c, saa7134-oss.c: * saa7134-tvaudio.c, saa7134-video.c: * tda8290.c, tea5767.c, tuner-simple.c: - Clean up ALL whitespace using scripts/strip-trailing-whitespaces.sh Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-16 - don't turn off the xtal output of the TDA8275 in sleep modeHartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-06-16 * cx88-video.c, saa7134-video.c, bttv-driver.c:Mauro Carvalho Chehab
- radio range is now defined on tuner-core.c. Cleaning up. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-15msgMichael Krufky
2005-06-14 - turn off planar mode at video release (would break DVB)Hartmut Hackmann
- put tda8290 and tda8275 to sleep at video release to save power - special FM stereo configuration for FMD1216 tuner Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-06-07Make stereo/mono settings available for applications. Some improvementsNickolay V. Shmyrev
for MK3 tuners. Now tda9887 has stereo setting by default
2005-05-24Merge v4l-saa7134-ntsc-vbi-fix.patchNickolay V. Shmyrev
2005-02-15- merge some patches from mainline.Gerd Knorr
- tuner kernel message fixups. - misc.
2005-02-03- saa7134: PAL-60 support by Phil Richards.Gerd Knorr
2005-02-03- saa7134 ts fixes by Eric Lammerts + /me.Gerd Knorr
2004-12-10- add moduleparam.h include to many files.Gerd Knorr
- some pinnacle 300i progress (can talk to mt352 now, not working yet through). - misc minor stuff.
2004-12-09- work on dvb pll stuff.Gerd Knorr
- misc dvb updates. - pinnacle 300i stuff (not working yet).
2004-12-02- fix memory leak in drivers.Gerd Knorr
2004-11-19- misc cleanups.Gerd Knorr
- blackbird + empress updates.
2004-11-19- saa7134: signal detection fixes.Gerd Knorr
2004-11-18- a batch of mpeg2/empress fixes/changes.Gerd Knorr
2004-11-07- kill obsolete stuff.Gerd Knorr