summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2009-09-17merge: http://kernellabs.com/hg/~mkrufky/saa7164Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-17merge: http://www.kernellabs.com/hg/~stoth/saa7164-mergeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-16DocBook: rename main DocBook to media-specs and fix build rulesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-06enable VIDEO_SAA7164 for 2.6.24 and laterMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-06make v4l/scripts/saa7164.pl executableMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-09SAA7164: Add support for the NXP SAA7164 siliconSteven Toth
From: Steven Toth <stoth@kernellabs.com> 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. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-09-01merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31compat: don't build soc-camera modules for kernels < 2.6.28.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Compiling this for pre-2.6.28 kernels will generate a lot of warnings due to a prototype change in dev_get_drvdata. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2009-08-31compat: don't build si4713 for kernels < 2.6.26Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> si4713 requires the new i2c API, so no point trying to build it on those old kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-08-31v4l2-spec: convert it to use DocBook XML 4.1.2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> DocBook XML 4.1.2 is the docbook dialect spoken at Linux kernel. By using it, we can now consider adding V4L2 API docs at the kernel tree. As a bonus, added support for xmlto, with seems to be better supported nowadays. Another additional bounus is that two new Makefile targets were added: make man - Create V4L2 API man pages make man_install - Install V4L2 API man pages By allowing the addition of V4L2 manpages, it is now easier for developer to quickly check about a V4L2 API or libv4l2 call syntax and expected return values. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-26versions.txt: av7110 no longer builds for kernels < 2.6.19.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> av7110_hw.c uses MODULE_FIRMWARE which didn't appear until 2.6.19. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-08-23compat.h: Fix compilation breakage with vanilla 2.6.16 to 2.6.19Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4635: warning: implicit declaration of function 'PCI_VDEVICE' /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4635: error: 'BROOKTREE' undeclared here (not in a function) /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4635: error: initializer element is not constant /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4635: error: (near initialization for 'bttv_pci_tbl[0].vendor') /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4636: error: initializer element is not constant /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4636: error: (near initialization for 'bttv_pci_tbl[1].vendor') /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4637: error: initializer element is not constant /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4637: error: (near initialization for 'bttv_pci_tbl[2].vendor') /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4638: error: initializer element is not constant /marune/build/v4l-dvb-master/v4l/bttv-driver.c:4638: error: (near initialization for 'bttv_pci_tbl[3].vendor') Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-21versions.txt: jeilinj needs 2.6.20 or upperMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/jeilinj.c:282:43: error: macro "INIT_WORK" requires 3 arguments, but only 2 given /home/v4l/master/v4l/jeilinj.c: In function 'sd_config': /home/v4l/master/v4l/jeilinj.c:282: error: 'INIT_WORK' undeclared (first use in this function) /home/v4l/master/v4l/jeilinj.c:282: error: (Each undeclared identifier is reported only once /home/v4l/master/v4l/jeilinj.c:282: error: for each function it appears in.) Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-21versions.txt: Don't compile smsdio on kernels lower than 2.6.24Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-20compat.h: implement DIV_ROUND_CLOSESTMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-05Compatibility layer for hrtimer APIMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Kernels 2.6.22 to 2.6.24 (inclusive) need some compatibility quirks for the hrtimer API. For older kernels, some required functions were not exported so there's nothing we can do. This means that drivers using the hrtimer infrastructure will no longer work for kernels older than 2.6.22. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-20cx88: Apply version 2 of high resolution timer for RCMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Patch solves problem of missed keystrokes on some remote controls, as reported on http://bugzilla.kernel.org/show_bug.cgi?id=9637 . Changes of version 2: * Driver no longer builds on kernels < 2.6.22, so add an entry to v4l/versions.txt * Add a missing static. Build-tested on 2.6.22. Priority: normal Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl> Signed-off-by: Jean Delvare <khali@linux-fr.org> [mchehab@redhat.com: this patch will be merged with version 1 for upstream submission] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-13versions: Fix compilation with kernel 2.6.16Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-20versions.txt: freezer routines appeared in 2.6.24, not 2.6.23Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Minor fix to get sn9c20x.c to compile on 2.6.23. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-07-19sn9c20x: backport to work since 2.6.18Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Make sn9c20x driver to work with RHEL5 kernel. Yet, the event interface needs a little more work. Since I'm lazy, I've backported just the webcam driver. While here, reorder includes to the order used on other drivers. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-19v4l: davinci drivers should only be compiled for kernels >= 2.6.31.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-07-01do_merge.pl: make easier to identify merge troublesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-23Building system: Improve compatibility for delayed workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-23merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-subdev2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21merge: http://linuxtv.org/hg/~tap/fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-20compat: Fix __fls for certain ARM kernelsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> __fls() has a broken definition for ARM in from v2.6.26-7260-g0c65f45 to v2.6.28-rc6-187-g94fc733. We can fix this by just undef'ing __fls before the compat define. This will let us replace the broken one with our working one. For those kernels where the compat code is triggered and __fls works, we replace the working one with our (identical) working version, which is not a problem. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-20Kbuild: make USB_STV06XX compile with RHEL5 kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-09v4l-compat: add I2C_ADDRS macro.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-05-30compat: handle __flsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> __fls() was added for generic code in 2.6.29, existed for just 64-bit arches since 2.6.26 (v2.6.25-5228-g56a6b1e), and was x86-64 only before then. When __fls() doesn't exists we create an inline function that implements it via fls(), which has existed for longer. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-27Building system: Restore compilation with kernels older than 2.6.29Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Mostly due to ir-kdb-i2c, but also due to two new drivers, compilation with kernels older than 2.6.29 were broken. This quick and dirty changeset, generated semi-automatically, restaures backport to the subsystem by adding lots of #ifs. It is possible to write a much more small changeset that would restore backport without adding so many ifs, but, due to the lack of time, this will also solve it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-23gentree.pl: Remove some unused varsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27Compile ADV7343 and THS7303 drivers for kernels >= 2.6.26Mauro Carvalho Chehab
From: chaithrika@ti.com <chaithrika@ti.com> Signed-off-by: Chaithrika U S <chaithrika@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-09Kbuild: add a new target to check for section mismatchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-30compat: Add DMA_BIT_MASK() macroTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> This macro was added in 2.6.24 as a replacement for things like DMA_32BIT_MASK, DMA_24BIT_MASK, etc. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-04-23building system: improve firmware creationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is a major rewrite at v4l/firmware/Makefile: It will now create firmwares only if they don't exist yet, or if the firmware "source" file were touched. Also, use implicit rules instead of explicit, in order to simplify the file. Now, just one line should be modified if a new firmware is added. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-22Make firmware before installMauro Carvalho Chehab
From: Nicola Soranzo <nsoranzo@tiscali.it> Presently with the usual: make && sudo make install firmware is not built during make, but in the second step with root privileges, which should be avoided. This patch adds firmware dependency to the default make target. Moreover, one more file (ihex2fw) should be deleted by firmware clean. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20firmware/Makefile: Print more user-friendly messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This is just some cosmetic at firmware/Makefile, for it to use a more user-friendly output, instead of just printing the used commands. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-20build: Make sure that firmwares will be installedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by some users, firmwares were not installed. Be sure that it will properly install the firmwares by calling the proper makefile rule. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14fix backport compilation, when ch9.h file doesn't existMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14make distclean: remove also .tmp*.ver .tmp*.oMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14compat.h: improve detection for need poll_schedule()Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14Fix compatibility for usb_endpoint_type and 2.6.30Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> compat.h: usb_endpoint_type can be found on ch9.h header Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14backport commit 758021bfa9ea25c58e62d2f68512628b19502ce7Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Takashi Iwai <tiwai@suse.de> Date: Mon Jan 12 15:17:09 2009 +0100 drivers/media: Convert to snd_card_create() Convert from snd_card_new() to the new snd_card_create() function. While here, backport also cx231xx-audio upstream changes for using snd_card_create(). kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14backport commit 9137f05f7e72517d44b6b0c15b11b419ecb5d201Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Jaswinder Singh <jaswinder@infradead.org> Date: Mon Apr 6 14:34:12 2009 -0700 firmware: convert av7110 driver to request_firmware() kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14Fix some issues on out-of-tree firmware buildingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixes: - linux/firmware/Makefile is not used. Let's just remove it to avoid keep tracking on upstream changes on this file; - make would need to run twice, due to a missing Makefile dependency; - make -C v4l/firmware distclean were not removing everything. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Priority: normal Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-03-29do_merge.pl: Do a small fix at the building part of the scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29Added a script to run the tree merge procedureMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> hgimport was recommending a basic merge procedure. However, with some troubles: - The procedure only works if the pulled tree creates a new head; - The merge message should be manually written; - No sanity checks were done before doing the merge; - No error status were done. The new perl script implements a better way to handle it, doing the necessary checks. hgimport was updated to recommend the script usage. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-28build: Fix kernel output directory supportTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In patch kernel commit v2.6.24-2223-g1d3b3bf the format of the Makefile placed in a kernel build output directory (i.e., when O=... is used) was changed. The script in the v4l-dvb build system couldn't parse the new format and find the kernel source directory. This fixes it so it can. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>