summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-23merge: masterMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23Fix broken dependencies on media Kconfig Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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-22Correctly handle sysfs error leg file removal in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Take note of which sysfs files / groups that the pvrusb2 successfully creates and only delete those specific items when tearing things down. (Previously we just blindly tore everything down every time.) Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-22Clean up some post mpeg-controls issues in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Fix a few miscellaneous issues in the pvrusb2 driver related to use of the new mpeg controls. This also should fix problems involving update of the saa7115 / cx25840 configuration as control changes are made. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-22fix ext_controls align on 64 bit architecturesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> u64 is aligned as 128bits on x86_64 architetures, requiring an special handling to ioctls that depends on v4l2_ext_control. Let's fix this before ext controls go to kernel mainstream to avoid one more compat32 stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-21VIDIOCSMICROCODE were missing on compat_ioctl32Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> video_code size is 24 on i386 and 32 on x86_64, so a proper handling is needed on compat_ioctl32 to fix it. This code should be tested, since just *a few* boards use this ioctl. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19videodev.h should be included also when V4L1_COMPAT is selected.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19Removed the remaining config.h stuffMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since kernel include autoconf.h via command line, those config.h inclusion can be removed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19merge: http://linuxtv.org/hg/~mcisely/pvrusb2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19Several other backports from kernel to v4l/dvb treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] release_firmware() fixesMauro Carvalho Chehab
From: Magnus Damm <magnus@valinux.co.jp> Use release_firmware() to free requested resources. According to Documentation/firmware_class/README the request_firmware() call should be followed by a release_firmware(). Some drivers do not however free the firmware previously allocated with request_firmware(). This patch tries to fix this by making sure that release_firmware() is used as expected. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Acked-by: Marcel Holtmann <marcel@holtmann.org> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: "John W. Linville" <linville@tuxdriver.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] 64bit resource: fix up printks for resources in video driversMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> This is needed if we wish to change the size of the resource structures. kernel-sync: backport from kernel to v4l/dvb tree Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer neededMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Also fixes all drivers that set this field. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19typo fixes: bandwith -> bandwidthMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] irq-flags: media: Use the new IRQF_ constantsMauro Carvalho Chehab
From: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Last little devfs cleanups throughout the kernel tree.Mauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Just removes a few unused #defines and fixes some comments due to devfs now being gone. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove devfs_mk_dir() function from the kernel treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Removes the devfs_mk_dir() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove the videodevice devfs_name field as it's no longer neededMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove the devfs_fs_kernel.h file from the treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Also fixes up all files that #include it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove devfs_remove() function from the kernel treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Removes the devfs_remove() function and all callers of it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Removes the devfs_mk_cdev() function and all callers of it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19Remove obsolete #include <linux/config.h>Mauro Carvalho Chehab
From: Jörn Engel <joern@wohnheim.fh-wedel.de> kernel-sync: Kernel adds "-include include/linux/autoconf.h" for every file to be compiled, so, including config.h is not required. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start/stop codeOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix bug reported by Andrew de Quincey: After cold boot the saa7146 DMA did not start if the demuxer was opened before the frontend has locked to the signal. DMA transfers will be started now if (and only if) the frontend is locked and data should be sent to the demuxer. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-07-18Refine dead code elimination in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-18Fix dvb-pll autoprobingAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Trent Piepho pointed out that the pll test i2c transmission is slightly wrong; it was transmitting a zero length message, and then reading from the PLL. This was wrong; it should only be transmitting a single read i2c message. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-18videodev: remove bad kfree()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This fixes a previous commit -- We shouldnt kfree(&vfd->class_dev) inside video_register_device, since the resource is not allocated inside this function. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18pvrusb2: check the return value of class_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> class_device_create_file is marked as __must_check, so its return value must be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18pvrusb2: check the return value of class_device_registerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If an error occurs during class_device_register, print an error message, kfree(class_dev) and return. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18videodev: check the return value of class_device_registerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If an error occurs during class_device_register, print an error message, kfree(&vfd->class_dev), and return the error code to the caller of video_register_device. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18videodev: replace class_device_create_file with video_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch replaces the call to class_device_create_file with video_device_create_file, as defined in v4l2-dev.h, so that the return value of class_device_create_file will be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18Check __must_check warning in video_device_create_fileMauro Carvalho Chehab
From: Michael Krufky <mkrufky@linuxtv.org> This patch moves the check from bttv-driver.c into v4l2-dev.h, because all other callers of video_device_create_file must also be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-18video_device_create_file should return the value of class_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> video_device_create_file was declared as a void, but instead should return the int value of class_device_create_file Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-17Set the Auxiliary Byte when tuning LG H06xF in analog modeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> With the LG H06xF tuners, an auxiliary byte must be sent after the standard four-byte i2c sequence. The code that does this is currently in the wrong place, causing random bytes to be written to the tuner over i2c in the set_type function. This patch moves this code from set_type to default_set_tv_freq. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-17Bugfix for keycode calculation on NPG remotesRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Fix keycode calculations (all codes for this remote were wrong due to a lost + sign) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-07-16[PATCH] Freecom DVB-T stick with ID 14aa:0225Patrick Boettcher
From: Alexander Tuschen <atuschen@web.de> Ok, here is the working patch for the Freecom DVB-T stick with USB-ID 14aa:0225. It uses the Firmware-file, wich Erich Focht created and wich can be obtainded from http://home.arcor.de/efocht/dvb-usb-wt220u-fc03.fw Also the original patch is from Erich. It adds the proper USB-IDs and I only had to change the endpoint of the MPEG-2 data-transfer to 0x86. Signed-off-by: Alexander Tuschen <atuschen@web.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-07-16Fix possible dvb-pll oopsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Supplying a NULL i2c adapter to dvb_pll_attach is allowed, for example with mt352 demods. However, the pll i2c probe will segfault because it does not check for this. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-15Saa7134: rename dmasound_{init, exit}Mauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Two different exports with the same name are not a good idea: $ grep -r EXPORT_SYMBOL\(dmasound_init\) * drivers/media/video/saa7134/saa7134-core.c:EXPORT_SYMBOL(dmasound_init); sound/oss/dmasound/dmasound_core.c:EXPORT_SYMBOL(dmasound_init); $ This patch renames the saa7134 dmasound_{init,exit} to saa7134_dmasound_{init,exit}. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-15Added PCI ID of the Genius VideoWonder Dual CardbusHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> It is just another Lifeview clone Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15Added PCI ID for AverMedia DVB-T 777 with SAA7133Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The change is just an additional PCI ID Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15added support for the md8800 quadro boardHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Analog TV, CVBS, S-video and DVB-T are working, DVB-S not yet Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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-07-15Previous patch broke compilation for kernels <2.6.18. Fixing.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-15Change to kernel version checking code in make_kconfig.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code to compare kernel versions was wrong, it would think 2.7.1 was older than 2.6.10 because 1 < 10. Fixed. Changed code to not require all options to be defined in versions.txt. It was necessary before only because of the way make_myconfig.pl worked, but that script has changed. Driver sub-options can be omitted from versions.txt, unless they somehow need a newer kernel than the driver itself. In fact, most of the drivers themselves could be removed from versions.txt, and only put in if there is an actual reason. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15Adjust versions.txt to be more accurateTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Much moving about of drivers from one version to another. Most drivers are moved down to 2.6.12. Some drivers are moved up to require newer kernels. Comments are added for specific know reasons why some drivers fall under a certain kernel version. Various int/hex/string options are removed from versions.txt, they don't need to be there anymore. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15Add some mutex to semaphore backward compatability changesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Standard back compatability changes, for struct mutex added after 2.6.15. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15Add compat.h code for schedule_timeout_interruptible()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add a static inline version of schedule_timeout_interruptible(), it's only two lines, to compat.h. This will make bt866 and ks0127 compile with pre 2.6.14 kernels. Remove #if/#else code from msp3400, saa7134-tvaudio, and vivi that used to handle this. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15Whitespace cleanupTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> From the whitespace script Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15build pwc in kernels 2.6.15 and laterMichael Krufky
From: alexandre@russel.fr this patch move the USB_PWC and USB_PWC_DEBUG in v4l/version.txt from version 2.6.16 to version 2.6.15 so pwc is usable by 2.6.15 kernel. Signed-off-by: alexandre@russel.fr Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-15From: Randy Dunlap <rdunlap@xenotime.net>Mauro Carvalho Chehab
Check all __must_check warnings in bttv. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>