summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2008-04-15checkpatch.pl: update it to version 0.16Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-09saa717x: add new audio/video decoder i2c driverHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Added the last remaining out-of-tree kernel driver from the ivtv project. The saa717x is used in several Japanese cards and a Russian card. The driver is not complete in that only NTSC is supported and no PAL/SECAM. Hopefully this will be added in the future. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Kyuma Ohta <whatisthis@jcom.home.ne.jp> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-01merge: http://linuxtv.org/hg/~mkrufky/tunerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-30tuner-simple: fix broken build dependencyMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> tuner-simple is the only module that uses tuner-types - these will be merged to a single module in the future. For now, build both of them if TUNER_SIMPLE is selected. This fixes the following build warning, if tuner-simple is selected without tuner-types: WARNING: "tuner_count" [tuner-simple.ko] undefined! WARNING: "tuners" [tuner-simple.ko] undefined! Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-03-28Avoid build warnings for distro-patched 2.6.24 kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-18Updates kernel checkpatch.pl script to version 0.14Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-17compat.h: Keep cancel_delayed_work_sync() compatible with kernel < 2.6.23Douglas Schilling Landgraf
From: Tobias Lorenz <tobias.lorenz@gmx.net> Added define to keep cancel_delayed_work_sync() compatible with old kernel. (< 2.6.23) Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Reviewed-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2008-02-07Add minimal verison requirement for soc-camera driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-05Fix BUG in changeset 7157Mauro Carvalho Chehab
From: e9hack <e9hack@googlemail.com> compiling of the current HG tree fails on linux 2.6.24. I think it is a bug in changeset 7157: The definition of i2c_verify_client() should not be inside #ifndef BIT_MASK / #endif. The variable i2c_bus_type is only public on 2.6.23.x (maybe also on earlier versions) but not on 2.6.24. The following patch does fix the problem on 2.6.24 for me: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-05Fix compilation against kernel 2.6.23Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-27tuner: build tuner-types independently of tuner-coreMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> tuner-types is needed for tuner-simple, and does not need to be bound to tuner-core. Any caller of tuner-simple, including tuner-core, needs to pass a structure from tuner-types into tuner-simple at attach-time. Export the two needed symbols from tuner-types for now, so that card-level drivers can attach tuner-simple for hybrid dvb_frontend devices. We will remove this dependency altogether as tuner refactoring phase 3 progresses. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-28Fix backport for stk-webcamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-27Fix compilation with kernel 2.6.24Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-18Remove sound/driver.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> sound/driver.h is already included by sound/core. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-15Adds the proper compatibility code for radio-si470x and stk-webcamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Make radio-si470x and stk-webcam backward compatible with older kernels. This patch adds compat.h header for those files, reorder include order and adds USB_DEVICE_AND_INTERFACE_INFO macro. Thiw way, stk-webcam is backward compatible with 2.6.22, and radio-si470x with kernel 2.6.20. The backports weren't tested, but compile fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14Adds missing version dependency for stk webcam driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-13Move all board specific configuration to em28xx-cards.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This cleanup moves the board-specific configurations to em28xx-cards.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-09usbvision: add Pinnacle Studio PCTV USB (NTSC) FM V3Thierry MERLE
From: Thierry MERLE <thierry.merle@free.fr> Add the "Pinnacle Studio PCTV USB (NTSC) FM" device. This is the third occurrence of the same device designation... Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-01-09Fix date parsing for mailimport script to workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-08Improve script to handle also hg mq series of patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-21merge: http://linuxtv.org/hg/~stoth/xc5000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-18cs5345: new i2c driver.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-12-17Add support for the Hauppauge HVR1500Q.Steven Toth
From: Steven Toth <stoth@hauppauge.com> The express card ATSC/QAM tuner. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-12-10Fix missing \n at checkpatch.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10Update checkpatch.pl to version 0.12Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10Improve check.pl to support gcc error style, and terseMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> With "make checkpatch", all c-compilation error parsers will be able to handle the error codes, allowing the user to navigate inside codingstyle errors as if they where generated by gcc. "make terse" will produce error codes using terse syntax, also common on development tools. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-10Add a tool for checking codingstyle and report to emacs "Compile" commandMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> For those who develp using emacs, checking a patch is now a matter of asking emacs to compile, using "make checkemacs" command. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-03Copy kernel's checkpatch.pl and improve prep_commit_msg.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Kernel's checkpatch.pl appeared only on kernel version 2.6.22. However, several improvements happened on recent kernels. This patch copies the latest version (0.11) of checkpatch.pl to the v4l-dvb development tree. Also, now, prep_commit_msg.pl checks if the script is available at Kernel and checks for its version. If the version is older than the in-tree one, it uses the in-tree. Otherwise, kernel version is used. It is always a good idea to use kernel's checkpatch.pl, since some additional tests can be done when using the kernel's, like checking for the usage of depreciated API's. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-02pvrusb2: Fix compilation for kernels older than 2.6.18Mike Isely
From: Mike Isely <isely@pobox.com> Move VIDEO_PVRUSB2_SYSFS such that it is turned off for kernels older than 2.6.18. This should allow the driver to still compile using older kernel (minus the sysfs interface). This change is due to the driver's sysfs implementation moving forward to the newer class interface mechanism; the differences are too great to cleanly separate with ifdefs (and I expect the divergence to grow as other changes are made to take advantage of the new mechanism), so for now we simply give up trying to deal with the old interface. Signed-off-by: Mike Isely <isely@pobox.com>
2007-11-23Improve parsing scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-16Fix driver for i386 architecturesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also, fixed backporting up to 2.6.20 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-06Fix compilation with kernel 2.6.24-rc1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - kbuild change: CPPFLAGS should be replaced by KBUILD_CPPFLAGS; - I2C_PEC is now defined at i2c-dev.h; - task_pid_nr compat code is wrong. Thanks to Maxim Levinsky for pointing me those issues Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-01v4l/compat.h: add KERN_CONT for pre-2.6.24 kernelsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-11-02Add compatibility code for BIT_MASK and BIT_WORDMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-02Backport some changesets touching S/G codeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Backport kernel changesets: 45711f1af6eff1a6d010703b4862e0d2b9afd056 117636092a87a28a013a4acb5de5492645ed620f 642f149031d70415d9318b919d50b71e4724adbd Also, added newer entreis at compat.h, to avoid needing to add checks for linux versions inside the source codes. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-02Backport commit ba25f9dcc4ea6e30839fcab5a5516f2176d5bfedMauro Carvalho Chehab
kern-sync: Author: Pavel Emelyanov <xemul@openvz.org> Date: Thu Oct 18 23:40:40 2007 -0700 Use helpers to obtain task pid in printks The task_struct->pid member is going to be deprecated, so start using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in the kernel. The first thing to start with is the pid, printed to dmesg - in this case we may safely use task_pid_nr(). Besides, printks produce more (much more) than a half of all the explicit pid usage. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-31Remove obsolete VIDEO_BUF modules from versions.txtTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Someone forgot to remove them when they renamed them VIDEOBUF. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-31Add VIDEOBUF_VMALLOC to versions.txtTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> It uses remap_vmalloc_range(), which wasn't added until 1.6.18 Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-30m52790: add new Mitsubishi A/V switch i2c driverHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This driver is used by the ASUS Falcon2 cx23416-based cards. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-10-22tda8290: add support for NXP TDA18271 tuner and TDA8295 analog demodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon. TDA8295 + TDA8275a not yet tested. TDA8290 + TDA18271 not yet supported. Digital mode of TDA18271 not yet tested & needs more work. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/Documentation/video4linux/CARDLIST.tuner | 1 linux/drivers/media/Kconfig | 3 linux/drivers/media/dvb/frontends/Kconfig | 7 linux/drivers/media/dvb/frontends/Makefile | 1 linux/drivers/media/dvb/frontends/tda18271.c | 1062 +++++++++++++++++++++++++ linux/drivers/media/dvb/frontends/tda18271.h | 40 linux/drivers/media/video/tda8290.c | 339 +++++++ linux/drivers/media/video/tda8290.h | 8 linux/drivers/media/video/tuner-core.c | 5 linux/drivers/media/video/tuner-types.c | 3 linux/drivers/media/video/tveeprom.c | 2 linux/include/media/tuner.h | 2 v4l/versions.txt | 2 13 files changed, 1467 insertions(+), 8 deletions(-)
2007-10-02Add tuner-xc2028 driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Add support for Xceive XC2028/XC3028 tuner driver Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/video/Kconfig | 12 linux/drivers/media/video/Makefile | 4 linux/drivers/media/video/tuner-core.c | 5 linux/drivers/media/video/tuner-driver.h | 2 linux/drivers/media/video/tuner-xc2028.c | 407 +++++++++++++++++++++++++++++++ linux/drivers/media/video/tuner-xc2028.h | 9 v4l/versions.txt | 1 7 files changed, 440 insertions(+)
2007-10-24Remove the obsoleted xc3028Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Remove the old xc3028.c file, replacing all occurrences of TUNER_XCEIVE_XC3028 to TUNER_XC2028. Some work is still may be required to make sure that non-tm6000 drivers will be capable of using tuner-xc2028. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/Documentation/video4linux/CARDLIST.tuner | 2 +- linux/drivers/media/video/em28xx/em28xx-cards.c | 10 +++------- linux/drivers/media/video/ivtv/ivtv-cards.c | 6 +++--- linux/drivers/media/video/ivtv/ivtv-driver.c | 2 +- linux/drivers/media/video/tuner-core.c | 5 ----- linux/drivers/media/video/tuner-types.c | 6 +++--- linux/include/media/tuner.h | 2 +- v4l/Makefile | 4 ---- 8 files changed, 12 insertions(+), 25 deletions(-)
2007-10-26Remove bass, treble and balance from audio hook since they are unusedMauro Carvalho Chehab
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/video/bt8xx/bttv-driver.c | 30 -------------------------- v4l/versions.txt | 2 - 2 files changed, 1 insertion(+), 31 deletions(-)
2007-10-26Make em28xx.pl script more generic to identify other em28xx chipsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-18Fix compilation for distro kernels with newer -ALSA treesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-16Backport kernel commit 918f3a0e8cf67b5db966516f255eaf24d814fac0Clemens Ladisch
kernel-sync: ALSA HG commit 5279 Date: Mon, 13 Aug 2007 15:40:54 +0000 (+0200) [ALSA] pcm: add snd_pcm_rate_to_rate_bit() helper Add a snd_pcm_rate_to_rate_bit() function to factor out common code used by several drivers. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-15compat: fix syntax mistake in compat.hTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A previous patch forgot the "define" in #define and so won't even compile when the code was triggered (kernel < 2.6.13). Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-15build: Deal with VIRT_TO_BUSTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> This Kconfig option was added in 2.6.23. On older kernels, use !PPC64 to set it. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-15build: Let kernel directory be specified by setting KDIRTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Will compare KDIR to SRCDIR and if not equal regenerate .version from the kernel specified in KDIR. The regeneration of .version is forced by making it a .PHONY rule. It was necessary to redo the way the release and .version targets worked. The new way avoids the duplication of code that existed before. The release target doesn't do anything. If release is specified as a goal, then .version regeration is forced (via .PHONY). Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-10build: Handle kernel output directories correctlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Recent patches to try to handle kernel object file directories haven't been doing it correctly. This patch reworks the way the kernel location(s) are handled. KDIR et al are removed and replaced with two variables, SRCDIR and OUTDIR. SRCDIR is the location of: The main kernel Makefile The kernel headers The kernel source (if present) OUTDIR is the location of: The kernel .config file The kernel [qxm]conf binaries (if present) The following kernel situations should be handled correctly: 1. A kernel installed from source. One can specify the version via "make release VER=version". If VER is not specified, uname -r is used. This the default if make is run on a clean tree. OUTDIR is /lib/modules/$(VER)/build and SRCDIR is /lib/modules/$(VER)/source, which are both symlinks pointing to the same location. 2. A kernel installed from source which was was built with the "O=/output/directory" option to the kernel Makefile. The version is specified the same was as above. OUTDIR and SRCDIR are the same as above, except in this case they are symlinks to different directories. OUTDIR will be a link the the directory used in the "O=" option and SRCDIR will be the source location. 3. An installed binary kernel with only a kernel-headers package. The version can be specified the same way as above. OUTDIR will be /lib/modules/$(VER)/build and SRCDIR will be the same as OUTDIR, as no 'source' directory exists. The kernel source and Kconfig program are most likely not present. 4. An un-installed kernel source tree, for a kernel that was built without using the "O=/outdir/directory" option. The kernel does not need to be fully built, only the "modules_prepare" target needs to be built. The location of the tree is specified with "make release DIR=directory". Both SRCDIR and OUTDIR will be $(DIR). 5. An un-installed kernel source tree, for a kernel that was built using the "O=/output/directory" option. The location of the tree is specified using "make release DIR=/output/directory". Note that DIR is not the directory with the kernel source! It is set to the directory that was used with the O option when the kernel was built. The Makefile in this directory has a link back to the kernel source directory and the v4l-dvb build system will find this. OUTDIR will be the '/output/directory' and SRCDIR will be the location of the source that built it. All all these situation the v4l-dvb tree should build correctly and all the various scripts will work. In addition, if the binaries for the [qxm]conf programs are present, "make menuconfig", etc. will work as well. If the binaries are not present, but the source is, the Makefile will automatically build the binaries when "make menuconfig", etc. is used. The source should be present in all situation except (3), a kernel-headers only install. Note that if the kernel output directory (usually the same as the kernel source directory, except for (2) and (5)) is not writable, then building the Kconfig programs automatically will not be possible. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>