summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2006-07-29Restore compat_ioctl in pwc driverMauro Carvalho Chehab
From: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> The compat_ioctl support of the pwc driver was dropped during the last update of the driver. I suppose it was by mistake. If yes here is the patch to restore the support. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29git-dvb: radio-sf16fmi build fixMauro Carvalho Chehab
From: Andrew Morton <akpm@osdl.org> drivers/media/radio/radio-sf16fmi.c: In function 'fmi_do_ioctl': drivers/media/radio/radio-sf16fmi.c:147: warning: implicit declaration of function 'KERNEL_VERSION' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29merge: http://linuxtv.org/hg/~quincy/v4l-dvb-attachMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Fix dst_ca attachAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Move the call to dst_attach into the dst_attach function to eliminate problems caused with dvb_attach. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack 'ed by: Manu Abraham <manu@linuxtv.org>
2006-07-29merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Ttpci/: remove unneeded #include <linux/byteorder/swabb.h>'sMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Since av7110.c is the only file actually using something from this header, there's no reson for other files to Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-28Refactor dvb_detach calls into a single dvb_frontend_detach function.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Remove buggy dvb_detach() macro and replace with unified dvb_frontend_detach() call. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove duplication _release() op.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I added a duplicate method during one of the previous dvb_attach attempts. This removes the unnecessary duplication. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove frontend selection from cx88/saa7134 driversAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Replaced with dvb_attach() Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Add Kconfig infrastructure for dvb_attachAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Allow it to be en/disabled Disable it in < 2.6.17 due to symbol_xxx() bug Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Convert DVB devices to use dvb_attach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Only devices using > 1 frontend were ported; ones which did not are left using static binding. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Add dvb_attach() macro and supporting routinesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add dvb_attach() macro and supporting routines Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove remaining static function callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rewrote _write() calls to use write() op. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Convert SEC drivers to new frontend APIAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert SEC drivers to new frontend API Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28dvb_attach modifications to dvb frontend structuresAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add write() op Add release_sec() op Add change misc_priv->sec_priv data field Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-27Force horizontal resolution limits in the pvrusb2 driverMike Isely
From: Mike Isely <isely@pobox.com> This change causes the pvrusb2 driver to limit horizontal resolution to be only 720 if 24xxx device hardware is being used. This is a workaround for an unsolved problem in the driver where if the resolution is set to something other than 720 the video quality will be _seriously_ degraded. It only happens on 24xxx devices (29xxx are unaffected by the problem and unaffected by this change). Once the problem is finally solved, this small change can be removed. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-27Make it possible for run-time calculation of control min/max in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> The internal control implementation in the pvrusb2 driver normally encodes integer range limits using literal values in a const structure. This change adds two function pointers, which if not null will be called through in order to determine integer min / max values. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26Eliminate hardcoded limits in VIDIOC_[S|TRY]_FMT for pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> The pvrusb2 implementation for VIDIOC_[S|TRY]_FMT was hardcoding limits on the range for allowed resolution, but it would be much better if we instead just queried the internal control for these values. This then opens the door for the driver to adjust these limits based on the detected hardware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26Merge from masterMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-07-26bttv: Revert VBI_OFFSET to previous value, it works betterTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A previous patch changed VBI_OFFSET to match what the datasheets say it should be. However, the bt8x8 datasheets are wrong. The old value of 244 is closer to what is actually observed. The real value appears to not be constant and is different for different chip revisions. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Alan Cox <alan@redhat.com>
2006-07-25videodev: Check return value of class_device_register() correctlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Errors are return values < 0, not != 0. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25Included missing linux/version.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also fixed a bug on outkernel buinding and version <=2.6.15 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-25Fix some typos on ioctl handling functionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-25bttv: clean up some pre-2.6.0 class device compat stuffTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add bit of compat code for class_device_create_file() to compat.h for pre-2.6.0 kernels. This allows an #ifdef to be removed from bttv-driver.c, and helps other code which never had one. Changed the code to turn on for pre-2.6.0, rather than pre-2.5.0, as the class device stuff was added in 2.5.69. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25bttv: use class_device_create_file and handle errorsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Revert bttv-driver.c from video_device_create_file() to use class_device_create_file() again. video_device_create_file() is only available when V4L1 is on. Proper error checking is added for failure of class_device_create_file(). Will print error message and unroll partially created sysfs entries. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25videodev: Handle class_device related errorsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add proper error checking and roll-back for failure of class_device_create_file() in videodev.c. Print error messages and unroll partially created sysfs entries. Also, failure of class_device_register() in video_register_device() is handled correctly. It was failing to de-allocate the minor number. This must be done in video_register_device(), since the caller has no way of knowing if failure occurred before or after the class device was registered. Also added an error message if video_register_device() is called with an unknown type, which should never happen. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-25Remove of couple of useless linesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A buffer was set just before an if block, and then again in both branches of the if. Obvious coding error. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-24OVERLAY flag were enabled by mistakeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> A patch from Aug, 17 activated by mistake OVERLAY flag on cx88-video, together with several cx88-blackbird cleanups. This makes the cx88 driver to report: /dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument instead of: /dev/video0 [v4l2]: no overlay support Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-maxiradioMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-trustMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24cx88: Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann PCI TV Tuner card supportMichael Krufky
From: David Bussenschutt <buzz@oska.com> Add support for Shenzhen Tungsten Ages Tech TE-DTV-250 OEM for Swann PCI TV Tuner Card Signed-off-by: David Bussenschutt <buzz@oska.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add support for Norwood PCI TV Tuner (non-pro)Michael Krufky
From: Peter Naulls <peter@chocky.org> This patch adds support for Norwood PCI TV Tuner (non-pro) Signed-off-by: Peter Naulls <peter@chocky.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add autodetection support for AverMedia M150-DMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch adds autodetection support for the AverMedia M150-D blackbird MPEG encoder / analog video capture card. This board is known to work with the ASUS PVR 416 configuration. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24cx88: add initial support for Hauppauge HVR3000 trimode cardMichael Krufky
From: Eric Thomas <ethomas@claranet.fr> add initial support for Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T only analog is working for now Signed-off-by: Eric Thomas <ethomas@claranet.fr> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-24V4L2 conversion: radio-zoltrixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-typhoonMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-terratecMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24V4L2 conversion: radio-sf16fmr2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-24A small fix at fmi->flags logicMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio-sf16fmiMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio-rtrack2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio-maestroMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since I don't have such hardware Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio_gemtek-pciMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio_gemtekMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23Fix: compile for radio aimslab and aztech with V4L2 onlyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> All radio devices use an obsolete mode of opening/release driver. Since this is not V4L1 core, better to keep the method available for more time than to rewrite open/release without a radio device to test, since the newer method is much more complex than the previous one (although providing support for multiple opens and multiple devices). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio_aztechMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23V4L2 conversion: radio_aimslabMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Require some testing, since this obsolete hardware is not common those days. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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>