0cb64f02b8c8f8181d6eaa6d1931fe0bc4195a25 |
|
10-Jan-2012 |
Dan Carpenter <dan.carpenter@oracle.com> |
[media] cx23885: handle errors from videobuf_dvb_get_frontend() The error handling in the original code wasn't complete so static checkers complained about a potential NULL deference. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
c147f61083e3e4a9c2aaecaaed976502defc3b7d |
|
06-Jan-2012 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Query the CX25840 during enum_input for status We can pass a NO_SIGNAL video decoder state back to applications if it's available. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
9def5ed716c717760e9b2522c78df5228fdc1107 |
|
05-Jan-2012 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Bugfix /sys/class/video4linux/videoX/name truncation The card names are being truncated in the video4linux sys class name file. Prior to this patch they were shown as: cx23885[0] mpeg (Hauppauge WinT cx23885[0] video (Hauppauge WinT cx23885[0] vbi (Hauppauge WinT After this patch they are shown as: Hauppauge WinTV-HVR1850 (video) Hauppauge WinTV-HVR1850 (mpeg) Hauppauge WinTV-HVR1850 (vbi) Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
350451375d6d8e9b124eacad67e221a0fdff0ac9 |
|
05-Jan-2012 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Hauppauge HVR1850 Analog driver support First in a series of patches that adds support to the cx23885 driver for CX23888 analog video handling. Raw and MPEG video support is being added for the HVR1850 driver in the patch, and the following series of patches. Some basic cx23885 driver cleanup. Partly to add HVR1850 support and partly to allow -417.c V4L2 calls to be routed through thr driver core and handled in a single place. Make a number of core driver functions available to the -417.c driver to streamline the driver. Add the analog tuner ops definition so we can reach/tune the hardware when we need to. Added the tff field so 888 based cards (which have a weird field ordering issue) can be accomodated and worked around in the driver. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
4c3764d15050f91a76cede6f24402cd2701e73ef |
|
04-Jan-2012 |
Steven Toth <stoth@kernellabs.com> |
[media] cx25840 / cx23885: Fixing audio/volume regression Since the conversion to subdev in Oct 2010 the audio controls have not functioned correctly in the cx23885 driver. Passing values of 0-3f did not translate into meaningfull register writes. I've converted the cx23885 driver to match the cx25840 volume control definition and now audio is working reliably again. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
8798875369ca5a1862c96425ab43b67ccbccccd0 |
|
09-Nov-2011 |
Alfredo Jesús Delaiti <alfredodelaiti@netscape.net> |
[media] cx23885: add support for Mygica X8507 This patch supports card Mygica X8507 (analog part) This controller is a copy of driver card Mygica X8506 This patch depends on patch cx23885-alsa To do: FM, ISDB-t, remote control, audio for composite1, S-Video and video component. Signed-off-by: Alfredo J. Delaiti <alfredodelaiti@netscape.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
a461e0ad3d27b6342140566909a80db30d151a91 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Stop the risc video fifo before reconfiguring it Safety reasons. We shouldn't be trying to reconfigure a risc processor instruction queue unless it's stopped. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
19696f09daeff897a672144be89a16b8df18c004 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Avoid incorrect error handling and reporting Previous driver over-reported errors and stopped the video fifo (causing video to stop) if 1) A risc error occured 2) The risc processor detected that it has missing lines in the video frame 3) The risc fifo is about to overflow. The previous driver reported all three of these cases as risc errors when this is technically not correct. So, the function was cleaned up. 1. Ensure that risc opcode related errors are correctly shown as such, and not overly reported for non-risc-opcode cases. 2. Ensure that line sync and overflow errors are not reported as opcode errors. 3. Ensure that only the risc-op-code case can stop the fifo and dump channel / risc processor information. The net result is that if video becomes unstable, cable disconnect, this will not trigger a stop of the video firmware (due to missing lines errors). Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
d44aa2d7fc9fba30cf81f25ba33f1caf73e8fbb8 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Avoid stopping the risc engine during buffer timeout 1. Removed the verbose 'dump channel state to console', very noisy in weak signal conditions. 2. No need for the video buffer timeout to stop the risc engine here. Clearer and easier to maintain if start_video_dma() is the single place that this is done. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
84f42af66535a57875b72678126c4238142ad4be |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Removed a spurious function cx23885_set_scale() Unused function removed. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
6c6f52fd6024b40297db32acb67f1fce6c6d1ae3 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: v4l2 api compliance, set the audioset field correctly Inform applications that multiple audio inputs are available on non-tv inputs. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
fa1e0fd3718417ad1e1058172fafd8cc2f480618 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: hook the audio selection functions into the main driver Ensure audio is established at driver start. Ensure the correct defaults are established for the audio path if the cards struct has nothing defined. Allow the caller to select one of the two baseband input paths. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
fc1a889df78dea08e522310c9eb6110448dc61f0 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: add generic functions for dealing with audio input selection Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
e92bcf8d8abb654cb916f3e615697320bc6bf1e1 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: fixes related to maximum number of inputs and range checking Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
2cb9ccd4612907c0a30de9be1c694672e0cd8933 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Initial support for the MPX-885 mini-card Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
33cdeb35f559270d2c51ed641df69a9ac659bc22 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Enable audio line in support from the back panel Add code to program the flatiron internal i2c ADC and pass the appropriate audio mux enums to the cx25840 driver. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
24465b448546e10666ad6021be0615214a258cbc |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: ensure video is streaming before allowing vbi to stream Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
af76e9f625b235f46d2a2002c4102f6f1249dcf4 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: Ensure the VBI pixel format is established correctly Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
5ab27e6d31be4a794a44477b94aa56dd625eb0f2 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: add vbi buffer formatting, window changes and video core changes Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
f88fb8e9385eaec2e7c0527ccc0d947fbbe4c5f9 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: minor printk cleanups and device registration Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
79776c89e0e52fce23d8c85f765a879ed20e760f |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: initialize VBI support in the core, add IRQ support, register vbi device Coding style and printk's are cleaned up in subsequent patches Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
efa762f597cb6ec094a9e62acd4f1167b3199d34 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: minor function renaming to ensure uniformity Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
80f1e086e68f4e6ef066022d8b7f5ea0bd686220 |
|
10-Oct-2011 |
Steven Toth <stoth@kernellabs.com> |
[media] cx23885: convert call clients into subdevices Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
d5492fb9ed3f3f25c56b25684072f0d234863b08 |
|
14-Oct-2011 |
Mauro Carvalho Chehab <mchehab@redhat.com> |
[media] cx23885: Don't use memset on vidioc_ callbacks vidioc_g_tuner should not do any memset for the parameters. Core already does that. In particular, V4L2 core now does some handling for the tuner type, and the tuner-core module relies on that. So, doing any memset there is a very bad idea. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
97ce5670fcee40b37f75d227ed88dcc51af63140 |
|
10-Oct-2011 |
Mijhail Moreyra <mijhail.moreyra@gmail.com> |
[media] cx23885: hooks the alsa changes into the video subsystem Signed-off-by: Mijhail Moreyra <mijhail.moreyra@gmail.com> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
b12ab3f81c1ae129aae5ab0fe538ed0afd0cb7d1 |
|
10-Oct-2011 |
Mijhail Moreyra <mijhail.moreyra@gmail.com> |
[media] cx23885: correct the contrast, saturation and hue controls Signed-off-by: Mijhail Moreyra <mijhail.moreyra@gmail.com> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
1990d50b58bef127a647005fdcada6d07081d3ef |
|
24-Jun-2011 |
Mauro Carvalho Chehab <mchehab@redhat.com> |
[media] Stop using linux/version.h on most video drivers All the modified drivers didn't have any version increment since Jan, 1 2011. Several of them didn't have any version increment for a long time, even having new features and important bug fixes happening. As we're now filling the QUERYCAP version with the current Kernel Release, we don't need to maintain a per-driver version control anymore. So, let's just use the default. In order to preserve the Kernel module version history, a KERNEL_VERSION() macro were added to all modified drivers, and the extraver number were incremented. I opted to preserve the per-driver version control to a few pwc, pvrusb2, s2255, s5p-fimc and sh_vou. A few drivers are still using the legacy way to handle ioctl's. So, we can't do such change on them, otherwise, they'll break. Those are: uvc, et61x251 and sn9c102. The rationale is that the per-driver version control seems to be actively maintained on those. Yet, I think that the better for them would be to just use the default version numbering, instead of doing that by themselves. While here, removed a few uneeded include linux/version.h Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
557f48d5720b45dae07788bc9976762c363b8ad0 |
|
25-Jan-2011 |
Igor M. Liplianin <liplianin@me.by> |
[media] cx23885: implement tuner_bus parameter for cx23885_board structure There is two external I2C buses in cx23885 chip. Currently, analog tuners supported for second I2C bus only In NetUP Dual DVB-T/C CI RF card tuners connected to first bus So, in order to support analog tuners sitting on first bus we need modifications. Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
657f2271050beabe725ba101c1d840f51a41f33d |
|
29-Dec-2010 |
Hans Verkuil <hverkuil@xs4all.nl> |
[media] v4l: fix handling of v4l2_input.capabilities The v4l core sets the v4l2_input.capabilities field based on the supplied v4l2_ioctl_ops. However, several drivers do a memset or memcpy of the v4l2_input struct, thus overwriting that field incorrectly. Either remove the memset (which is already done by the v4l core), or add the proper capabilities field in case of a memcpy. The same is also true for v4l2_output, but that only affected the ivtv driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
08af245de0cf6ab5f4ed008ee2bb99273774fce0 |
|
24-Dec-2010 |
Hans Verkuil <hverkuil@xs4all.nl> |
[media] V4L: remove V4L1 compatibility mode Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
9a1f8b34aa539000da17a06235e4bec254d0bfb5 |
|
24-Sep-2010 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
[media] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions The argument isn't used anymore by the functions, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
0edf2e5e2bd0ae7689ce8a57ae3c87cc1f0c6548 |
|
27-Oct-2010 |
Arnd Bergmann <arnd@arndb.de> |
[media] v4l: kill the BKL All of the hard problems for BKL removal appear to be solved in the v4l-dvb/master tree. This removes the BKL from the various open functions that do not need it, or only use it to protect an open count. The zoran driver is nontrivial in this regard, so I introduce a new mutex that locks both the open/release and the ioctl functions. Someone with access to the hardware can probably improve that by using the existing lock in all cases. Finally, all drivers that still use the locked version of the ioctl function now get called under a new mutex instead of the BKL. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
1532a07042289d420f040f3bd4370cc106860003 |
|
24-Sep-2010 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
[media] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev* With the v4l2_i2c_new_subdev* functions now supporting loading modules based on modaliases, replace the hardcoded module name passed to those functions by NULL. All corresponding I2C modules have been checked, and all of them include a module aliases table with names corresponding to what the drivers modified here use. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
08bff03ed697a583612b62a6ac566bd5bce98012 |
|
20-Sep-2010 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB: videobuf: add ext_lock argument to the queue init functions Add an ext_lock argument to the videobuf init functions. This allows drivers to pass the vdev->lock pointer (or any other externally held lock) to videobuf. For now all drivers just pass NULL. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
473d80247332b818caf6d25ed3eaaa10d3dfcfb7 |
|
05-Aug-2010 |
Julia Lawall <julia@diku.dk> |
V4L/DVB: drivers/media/video: Adjust confusing if indentation In cx23885/cx23885-video.c, cx88/cx88-video.c, davinci/vpif_capture.c, and davinci/vpif_display.c, group the aligned code into a single if branch. In saa7134/saa7134-video.c, outdent the code following the if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1@p1 S2@p2 ) @script:python@ p1 << r.p1; p2 << r.p2; @@ if (p1[0].column == p2[0].column): cocci.print_main("branch",p1) cocci.print_secs("after",p2) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
dbe83a3b921328e12b2abe894fc692afba293d7f |
|
19-Jul-2010 |
Andy Walls <awalls@md.metrocast.net> |
V4L/DVB: cx23885: Protect PCI interrupt mask manipulations with a spinlock This patch encapsulates access to the PCI_INT_MSK register and dev->pci_irqmask variable and protects them with a spinlock. This is needed because both the hard IRQ handler and a workhandler will need to manipulate the mask to disable the AV_CORE interrupt. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
e9e5cf472751a16ebe80c9a47b512605e3511880 |
|
18-Jul-2010 |
Andy Walls <awalls@md.metrocast.net> |
V4L/DVB: cx23885: Add a VIDIOC_LOG_STATUS ioctl function for analog video devices Add a simple log_status function for raw analog video capture device nodes, to provide insight into the state of the CX2388[578] A/V decoder core. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
cc99113b8cfb8b9685490db0b9bf0d26c9705ad3 |
|
09-May-2010 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB: cx23885: convert to s_mbus_fmt Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
dab7e3106ddd6cbc3b55301228407b9d17ce7773 |
|
21-Mar-2010 |
Andreas Bombe <aeb@debian.org> |
V4L/DVB: V4L2: Replace loops for finding max buffers in VIDIOC_REQBUFS callbacks Due to obvious copy and paste coding a number of video capture drivers which implement a limit on the buffer memory decremented the user supplied buffer count in a while loop until it reaches an acceptable value. This is a silly thing to do when the maximum value can be directly computed. Signed-off-by: Andreas Bombe <aeb@debian.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
0b32d65cd7938d31eebd9c62aab6a59a3c4cf0f8 |
|
22-Jan-2010 |
Kusanagi Kouichi <slash@ac.auone-net.jp> |
V4L/DVB: cx23885: Add support for LEADTEK WinFast PxTV1200 I tested only tv and composite. Video works fine but no audio. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
46b21094cee16bc7e531d7d6cd66fb5ea05065d4 |
|
10-Dec-2009 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments Now that the video_device registration is tested using video_is_registered(), drivers don't need to initialize the video_device::minor field to -1 anymore. Remove those unneeded assignments. [mchehab.redhat.com: removed tm6000 changes as tm6000 is not ready yet for submission even on staging] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
50462eb065e12f45851a9959a90d46b758944552 |
|
10-Dec-2009 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
V4L/DVB (13555): v4l: Use video_device_node_name() instead of the minor number Instead of using the minor number in kernel log messages, use the device node name as returned by the video_device_node_name() function. This makes debug, informational and error messages easier to understand for end users. [mchehab.redhat.com: removed tm6000 changes as tm6000 is not ready yet for submission even on staging] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
63b0d5ad20365edf8baf96cdbb8e7faf62501286 |
|
10-Dec-2009 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
V4L/DVB (13554a): v4l: Use the video_drvdata function in drivers Fix all device drivers to use the video_drvdata function instead of maintaining a local list of minor to private data mappings. Call video_set_drvdata to register the driver private pointer when not already done. Where applicable, the local list of mappings is completely removed when it becomes unused. [mchehab.redhat.com: removed tm6000 changes as tm6000 is not ready yet for submission even on staging] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
f0813b4c9f7ffbeaddcba1c08a1812f7ff30e1b7 |
|
27-Nov-2009 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
V4L/DVB (13553): v4l: Use the video_is_registered function in device drivers Fix all device drivers to use the video_is_registered function instead of checking video_device::minor. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
38c7c036036c6260606a2a833aaad3794ca22499 |
|
27-Nov-2009 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
V4L/DVB (13550): v4l: Use the new video_device_node_name function Fix all device drivers to use the new video_device_node_name function. This also strips kernel log messages from the "/dev/" prefix, has the device node location is a userspace policy decision unknown to the kernel. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
6f0d8c020ecff4acb959627109d3b81ded211b70 |
|
21-Oct-2009 |
David T.L. Wong <davidtlwong@gmail.com> |
V4L/DVB (13211): cx23885: card Mygica X8506 analog TV support Signed-off-by: David T.L. Wong <davidtlwong@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
fd705e7cd8ef61efc443b90f94afed42beabeacd |
|
21-Oct-2009 |
David T.L. Wong <davidtlwong@gmail.com> |
V4L/DVB (13208): cx23885: fix uninitialized member bug Signed-off-by: David T. L. Wong <davidtlwong@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
dac65fa169ebf9fb1bd488385c62b5dd0c71771c |
|
21-Oct-2009 |
David T.L. Wong <davidtlwong@gmail.com> |
V4L/DVB (13207): cx23885: add component input type Signed-off-by: David T. L. Wong <davidtlwong@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
74618244003a5a9e11240af8c5795ae747d9a2e0 |
|
27-Sep-2009 |
Andy Walls <awalls@radix.net> |
V4L/DVB (13085): cx23885: Fix support for v4l2-dbg access to CX2388[578] and CX23417 regs This changes corrects the ioctl() operations for both the CX2388[578] analog video and MPEG video device nodes to properly and consistently support VIDIOC_G_CHIP_IDENT, VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER ioctl()s. This caused some ioctl() support routines to be broken out into a separate source file. Now v4l2-dbg can be used to manipulate CX2388[578] and CX23417 registers including the CX2388[57] functions handled by the cx25840 module. This was done in anticipation of developing a new v4l2_subdev for the integrated IR controller of the CX23888. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
53dacb15705901e14b03dcba27e40364fedd9d09 |
|
10-Aug-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (12540): v4l: simplify v4l2_i2c_new_subdev and friends Rewrite v4l2_i2c_new_subdev as a simplified version of v4l2_i2c_new_subdev_cfg and remove v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr. This simplifies this API substantially. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
405f55712dfe464b3240d7816cc4fe4174831be2 |
|
11-Jul-2009 |
Alexey Dobriyan <adobriyan@gmail.com> |
headers: smp_lock.h redux * Remove smp_lock.h from files which don't need it (including some headers!) * Add smp_lock.h to files which do need it * Make smp_lock.h include conditional in hardirq.h It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT This will make hardirq.h inclusion cheaper for every PREEMPT=n config (which includes allmodconfig/allyesconfig, BTW) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/media/video/cx23885/cx23885-video.c
|
2449afcbcc654dbaa9dabeda9daecb69719b0aaa |
|
31-May-2009 |
Trent Piepho <xyzzy@speakeasy.org> |
V4L/DVB (11909): cx23885: Use v4l bounding/alignment function The v4l function has a better algorithm for aligning image size. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
9fd6418a6a7655b69cfa0ae27a3639a6d0b2924f |
|
16-Jun-2009 |
Figo.zhang <figo1802@gmail.com> |
V4L/DVB (12004): poll method lose race condition bttv-driver.c,cx23885-video.c,cx88-video.c: poll method lose race condition for capture video. Signed-off-by: Figo.zhang <figo1802@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
5325b4272a53b43f55b82cc369c310c2fcacdca1 |
|
02-Apr-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (11380): v4l2-subdev: change s_routing prototype It is no longer needed to use a struct pointer as argument, since v4l2_subdev doesn't require that ioctl-like approach anymore. Instead just pass the input, output and config (new!) arguments directly. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
e6574f2fbecdb8af807169d345c10131ae060a88 |
|
01-Apr-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev The functions v4l2_i2c_new_subdev and v4l2_i2c_new_probed_subdev relied on i2c_get_adapdata to return the v4l2_device. However, this is not always possible on embedded platforms. So modify the API to pass the v4l2_device pointer explicitly. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
f41737ece472cd803ffb24ac9f5d6fdd1d871341 |
|
01-Apr-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (11370): v4l2-subdev: move s_std from tuner to core. s_std didn't belong in the tuner ops. Stricly speaking it should be part of the video ops, but it is used by audio and tuner devices as well, so it is more efficient to make it part of the core ops. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
0d5a19f15837de69f864b2a43a93f119224d778c |
|
29-Mar-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (11297): cx23885: convert to v4l2_subdev. Convert this driver to v4l2_subdev. Note that currently the only card with analog support in this driver is the HVR-1800. The analog tuner support in this driver is limited to what is needed for this board. When analog support is added for other cards, then the tuner load code will probably have to be expanded to take care of those boards. For example, there is currently no support for either radio tuners or tda9887 demods. I'd like to thank Steven Toth for testing this on his HVR-1800. Tested-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
c0714f6cc6a7850062db41d5b2b8b90e5682ae41 |
|
13-Mar-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (11295): cx23885: convert to v4l2_device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
7e0a16f6118a297dd467c1e5a0908429fcdf56af |
|
10-Mar-2009 |
Mauro Carvalho Chehab <mchehab@redhat.com> |
V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
2ba588942c45a03a29a7a097e62bf0beceddb0e8 |
|
13-Feb-2009 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (10544): v4l2-common: add comments warning that about the sort order Control arrays as are used with v4l2_ctrl_next must be sorted from low to high. Add a comment at the top of all such arrays to warn about this. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
cd8f894eacf13996d920fdd2aef1afc55156b191 |
|
10-Jan-2009 |
Andy Walls <awalls@radix.net> |
V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and digital only cards Analog support for HVR-1250 has not been completed, but does exist for the HVR-1800. Since both cards use the same driver, it tries to create the analog dev for both devices, which is not possible. This causes a NULL error to show up in video_open and mpeg_open. -Mark Iterations through the cx23885_devlist must check for NULL pointers as some supported devices only have DVB support at the moment. Mark Jenks encoutered an Oops in a system with both an HVR-1250 and HVR-1800 installed. -Andy Reported-by: Mark Jenks <mjenks1968@gmail.com> Tested-by: Mark Jenks <mjenks1968@gmail.com> Signed-off-by: Mark Jenks <mjenks1968@gmail.com> Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
aecde8b53b8ee1330a5a8206200f0d6b8845a6e0 |
|
30-Dec-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. Since the i2c driver ID will be removed in the near future we have to modify the v4l2 debugging API to use the driver name instead of driver ID. Note that this API is not used in applications other than v4l2-dbg.cpp as it is for debugging and testing only. Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged with a warning that it is deprecated and will be removed in 2.6.30. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
bec43661b1dc0075b7445223ba775674133b164d |
|
30-Dec-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (10135): v4l2: introduce v4l2_file_operations. Introduce a struct v4l2_file_operations for v4l2 drivers. Remove the unnecessary inode argument. Move compat32 handling (and llseek) into the v4l2-dev core: this is now handled in the v4l2 core and no longer in the drivers themselves. Note that this changeset reverts an earlier patch that changed the return type of__video_ioctl2 from int to long. This change will be reinstated later in a much improved version. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
c6330fb86fd0fed98b7e0d5792881a77b778fefc |
|
19-Oct-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (9327): v4l: use video_device.num instead of minor in video%d The kernel number of a v4l2 node (e.g. videoX, radioX or vbiX) is now independent of the minor number. So instead of using the minor field of the video_device struct one has to use the num field: this always contains the kernel number of the device node. I forgot about this when I did the v4l2 core change, so this patch converts all drivers that use it in one go. Luckily the change is trivial. Cc: michael@mihu.de Cc: mchehab@infradead.org Cc: corbet@lwn.net Cc: luca.risolia@studio.unibo.it Cc: isely@pobox.com Cc: pe1rxq@amsat.org Cc: royale@zerezo.com Cc: mkrufky@linuxtv.org Cc: stoth@linuxtv.org Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
9c8ced511e154faf1a7af3f1abdfff45dccbe54a |
|
17-Oct-2008 |
Steven Toth <stoth@linuxtv.org> |
V4L/DVB (9251): cx23885: Checkpatch compliance cx23885: Checkpatch compliance Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
d45b9b8ab43c8973a9630ac54f4ede6c3e009f9e |
|
04-Sep-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings Fix sparse warnings. None are serious, but cutting down on these helps find future serious sparse warnings/errors. Redid the av7710.c patch based on a suggestion by Oliver Endriss. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
d56dc61265d2527a63ab5b0f03199a43cd89ca36 |
|
30-Jul-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8613): v4l: move BKL down to the driver level. The BKL is now moved from the video_open function in v4l2-dev.c to the various drivers. It seems about a third of the drivers already has a lock of some sort protecting the open(), another third uses video_exclusive_open (yuck!) and the last third required adding the BKL in their open function. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
6d8976164dd7d10d25fe940b8546265f60ad52cd |
|
03-Sep-2008 |
Steven Toth <stoth@hauppauge.com> |
V4L/DVB (8805): Steven Toth email address change I need this so I can better isolate my linux email from my corporate email. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-video.c
|
0ea6bc8d43c9ee3c5384bea184eab020927a5b2c |
|
26-Jul-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device The type and type2 fields were unused and so could be removed. Instead add a vfl_type field that contains the type of the video device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
a399810ca69d9d4bd30ab8c1678c7439e567f90b |
|
21-Jul-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8482): videodev: move all ioctl callbacks to a new v4l2_ioctl_ops struct All ioctl callbacks are now stored in a new v4l2_ioctl_ops struct. Drivers fill in a const struct v4l2_ioctl_ops and video_device just contains a const pointer to it. This ensures a clean separation between the const ops struct and the non-const video_device struct. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
35ea11ff84719b1bfab2909903a9640a86552fd1 |
|
20-Jul-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h The functions in a header should not belong to another module. The prio functions belong to v4l2-common.c, so move them to v4l2-common.h. The ioctl functions belong to v4l2-ioctl.c, so create a new v4l2-ioctl.h header and move those functions to it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 |
|
20-Jul-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (8428): videodev: rename 'dev' to 'parent' The field 'dev' is not the video device, but the parent of the video device. Rename accordingly. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
78b526a43561d7e5e702ba27948e422dfbc4bea1 |
|
28-May-2008 |
Hans Verkuil <hverkuil@xs4all.nl> |
V4L/DVB (7949): videodev: renamed the vidioc_*_fmt_* callbacks The naming for the callbacks that handle the VIDIOC_ENUM_FMT and VIDIOC_S/G/TRY_FMT ioctls was very confusing. Renamed it to match the v4l2_buf_type name. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
22b4e64f0a119e94090ef45285a5c311f1f6855f |
|
09-Apr-2008 |
Harvey Harrison <harvey.harrison@gmail.com> |
V4L/DVB (7520): media/video/cx23885 replace remaining __FUNCTION__ occurrences __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
0705135e59f8503e4dade4b3580fed77b1743b7c |
|
22-Apr-2008 |
Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> |
V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API videobuf-dma-sg does not need to depend on PCI. Switch it to using generic DMA API, convert all affected drivers, relax Kconfig restriction, improve compile-time type checking, fix some Coding Style violations while at it. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
4513fc696e273d64ea32f2366748aed810316ecc |
|
12-Jan-2008 |
Steven Toth <stoth@hauppauge.com> |
V4L/DVB (7014): cx23885: dprintk macro cleanup Added missing do { } while (0) Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
a19602f26a24c32e491108b49790b106a6351f24 |
|
10-Jan-2008 |
Steven Toth <stoth@hauppauge.com> |
V4L/DVB (7011): cx23885: Cleanup of compiler defines and warnings Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
21a78091921915cd1afd0edb2940dd726edefe9b |
|
10-Jan-2008 |
Steven Toth <stoth@hauppauge.com> |
V4L/DVB (7010): cx23885: Small cleanup cx23885: Small cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|
e47f30b140333525ea682ec672641b470da1e599 |
|
10-Jan-2008 |
Steven Toth <stoth@hauppauge.com> |
V4L/DVB (7009): cx23885: Video and VBI related files cx23885: Video and VBI related files. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-video.c
|