summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
2007-05-29mt20xx: whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace leading spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-29merge: http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-29merge: http://linuxtv.org/hg/~dougsland/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-28tda10086,tda826x: fix tuning, STR/SNR valuesOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Several people reported unreliable reception with the current driver. Furthermore, STR and SNR values seem to be inverted. This fix is based on a patch posted by Hartmut Hackman. Thanks to Helmut Auer for testing and helping to optimize the patch. tda826x: - set baseband cut-off to 19 MHz tda10086: - change the parameters of the carrier recovery loop - toggle register 0x02 between 0x35 (tuning) and 0x00 (locked) - invert STR and SNR values Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Hartmut Hackmann <hartmut.hackmann@t-online.de> Thanks-to: Helmut Auer <vdr@helmutauer.de>
2007-05-28Remove worthless references to obsolete MODULE_PARM macro.Mauro Carvalho Chehab
From: "Robert P. J. Day" <rpjday@mindspring.com> Remove the long-dead references to the obsolete MODULE_PARM macro. Given that the first one of those is actually misspelled as "MODULE_PARAM", it's clear that they can't have been doing any good. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-26From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
The recent changes on Kconfig broke compilation when VIDEO_DEV is compiled as module. On some cases, drivers like VIDEO_BUF are compiled with 'y' option instead of 'm': ERROR: "videobuf_read_stop" [drivers/media/video/video-buf-dvb.ko] undefined! ERROR: "videobuf_waiton" [drivers/media/video/video-buf-dvb.ko] undefined! ERROR: "videobuf_read_start" [drivers/media/video/video-buf-dvb.ko] undefined! ERROR: "videobuf_mmap_free" [drivers/media/video/saa7134/saa7134.ko] undefined! ERROR: "videobuf_mmap_mapper" [drivers/media/video/saa7134/saa7134.ko] undefined! ... ERROR: "videobuf_read_stop" [drivers/media/common/saa7146_vv.ko] undefined! ERROR: "videobuf_poll_stream" [drivers/media/common/saa7146_vv.ko] undefined! ERROR: "videobuf_streamoff" [drivers/media/common/saa7146_vv.ko] undefined! Thanks to Toralf Forster <toralf.foerster@gmx.de> for pointing this issue. CC: Toralf Forster <toralf.foerster@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-26Saa7111: fix picture settings cache bugMauro Carvalho Chehab
From: Russell King <rmk@arm.linux.org.uk> If the SAA7111 device is powered down, and requires re-initialisation when the V4L device is opened (as on the NetWinder), the SAA7111 driver gets completely confused about the current settings. The problem is centred around the way the driver keeps _two_ cached copies of the current settings - one of the struct video_picture settings, and one of the registers. When the decoder is re-initailised, the cached register settings are overwritten, as are the values in the hardware registers. However, the cached video_picture settings are not. Resolve this by removing the useless and buggy second level of caching for video_picture. Instead, provide a function which updates register values if and only if the value we are going to write to the register has changed. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-26Cinergyt2: fix file release handlerMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> If this mutex_lock_interruptible() does fail due to signal_pending() then the state of the driver will get trashed in interesting ways, because userspace cannot and will not retry the close(). Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-23Input: drivers/media - switch to using input_dev->dev.parentMichael Krufky
From: Dmitry Torokhov <dtor at mail.ru> In preparation for struct class_device -> struct device input core conversion switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor at mail.ru> Acked-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-22merge: http://linuxtv.org/hg/~aapot/m920xMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-22Ov7670: reset clkrc in rgb565 modeMauro Carvalho Chehab
From: Jonathan Corbet <corbet@lwn.net> A bug in the ov7670 sensor causes it to introduce noise unless the CLKRC register is rewritten *after* setting the image mode. Naturally, resetting CLKRC in this way will cause other modes to fail. So carefully poke the register only when indicated. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-22Cafe_ccic: Properly power down the sensorMauro Carvalho Chehab
From: Jonathan Corbet <corbet@lwn.net> The proper method for powering down the sensor on OLPC systems has changed somewhat; in particular, the sensor must be powered down completely (rather than simply told to power down) or the associated "camera active" LED will stay on. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-22merge: http://linuxtv.org/hg/~mkrufky/cx88Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21V4L: ir-kbd-i2c - switch to using msecs_to_jiffies()Mauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21V4L: cx88 - switch to using msecs_to_jiffies()Mauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21XXXMauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> V4L: SAA7134 - switch to using msecs_to_jiffies() Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21Correct aliases for STD/L and STD/LcMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some macros were using very weird names, like PAL/L (this std doesn't exist). Fixing it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21Tuner-simple.c add suport for SECAM-BG with FI1216MFMauro Carvalho Chehab
From: matthieu castet <castet.matthieu@free.fr> allow to use SECAM-BG with the FI1216MF tuner. The selection is done with the secam=B module argument. The default behaviour should be the same as before. Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21merge: http://linuxtv.org/hg/~ajacquet/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-21Backed out changeset c7cb1aaec112a3ee7d6483b54d03d6a093754f10Hans Verkuil
2007-05-20zr364xx: fix return valuesroyale@royale
From: Akinobu Mita <akinobu.mita@gmail.com> This patch fixes several return value related problems in zr364xx. - return -ENOMEM instead of -ENODEV on out of memory - zr364xx checks video_register_device() error only when its return value is -1. But video_register_device() doesn't always return -1 on error. - If usb_register() returns error, module_init() wrongly returns 1: retval = usb_register(&zr364xx_driver) < 0; ... return retval; And it allows the module to be loaded. Because sys_init_module() doesn't see positive return value as error. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2007-05-19Use v4l2_pix_out_fmt instead of v4l2_pix_fmt for video output formatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Adding top/left fields to v4l2_pix_fmt broke the ABI. To fix this a new v4l2_pix_out_fmt struct was introduced to specify the video output format. This new struct *does* have the additional top/left fields. The V4L2_CAP_VIDEO_OUTPUT_POS capability that was introduced is no longer needed and is removed. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-19Move big PIO accesses from the interrupt handler to a workhandlerHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Sliced VBI transfers use PIO instead of DMA. This was done inside the interrupt handler, but since PIO accesses are very slow this meant that a lot of time was spent inside the interrupt handler. All PIO copies are now moved to a workqueue. This should fix various issues with missing time ticks and remote key hits. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-18Models 30012-30039 are for a low profile PVR250, not PVR150.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-17cx88: add support for ADS Tech Instant Video PCIMichael Krufky
From: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-17Fix audio stuttering for saa711x/ivtv when in radio mode.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-17Autodetect new PVR150 low profile cards.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-17Adding new fields to v4l2_pix_format broke the ABI, reverted that changeHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Reverted the change to struct v4l2_pix_format. I completely missed that this struct was used by existing ioctls so that changing it broke the ABI. I will have to think of another way of setting the top/left coordinates but for now this change is reverted to preserve compatibility. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-14budget-av: Add support for EasyWatch DVB-S (0x1894:0x001b)Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add support for Satelco EasyWatch PCI DVB-S card (subsystem 0x1894:0x001b). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-05-13backport a cleanup on zoran_driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13backport some language fixes at philips.txtMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13backport changeset 30686ba6d56858657829d3eb524ed73e5dc98d2bMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: backport patch from Stephen Rothwell <sfr@canb.auug.org.au> [POWERPC] Remove old interface find_devices Replace uses with of_find_node_by_name and for_each_node_by_name. planb driver is marked as broken. I dunno if those changes would fix the driver or not. The original patch didn't changed the "broken" status for planb. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13backport commit e25df1205f37c7bff3ab14fdfc8a5249f3c69c82Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: backport patch from Martin Schwidefsky <schwidefsky@de.ibm.com>: [S390] Kconfig: menus with depends on HAS_IOMEM. Add "depends on HAS_IOMEM" to a number of menus to make them disappear for s390 which does not have I/O memory. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport several cleanups at includesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport kernel changeset 59c51591a0ac7568824f541f57de967e88adaa07Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: The original patch is from Michael Opdenacker <michael@free-electrons.com> Fix occurrences of "the the " Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport kernel changeset beb7dd86a101263bf63a78c7c6d4da3849b35bd6Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: The original patch is from Robert P. J. Day <rpjday@mindspring.com>: Fix misspellings collected by members of KJ list. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport several i2c cleanups from mainstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> backport commit 2096b956d24c4b5950b808fc23b218425d79ebb1 from David Brownell <david-b@pacbell.net> Maybe I've merged also other i2c cleanups here that happened on Kernel. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Whitespace cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport several changesets on dvb_net.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Backport several patches from Arnaldo Carvalho de Melo <acme@redhat.com>: [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} [SK_BUFF]: Convert skb->tail to sk_buff_data_t [SK_BUFF]: Introduce skb_mac_header() The API changed on 2.6.22, so this patch add the proper compat macros to allow compilation with older versions. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13backport commit cbefb762b67fa6d3eb2a48ae3380358a940e8c9dMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Backport the original patch from Mattia Dongili <malattia@linux.it> meye: make meye use sony-laptop instead of sonypi Change sonypi_camera_command() calls to sony_pic_camera_command() and use the renamed macros. Also, added compat stuff to allow compiling meye driver for kernels < 2.6.22 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>