[GIT PULL FOR v3.9] Move cx2341x from media/i2c to media/common

2013-01-29 Thread Hans Verkuil
Hi Mauro, The cx2341x module is a helper module for conexant-based MPEG encoders. It isn't an i2c module at all, instead it should be in common since it is used by 7 pci and usb drivers to handle the MPEG setup. It also shouldn't be visible in the config menu as it is always selected

Re: [FYI PATCH] Cisco's ths7353 driver...

2013-01-29 Thread Prabhakar Lad
Hi Hans, On Fri, Jan 25, 2013 at 5:27 PM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Prabhakar, As mentioned in my review of your ths7353 driver we (Cisco) have a driver for this device as well. Below is our driver so you can take the best bits of both. Thanks for sharing the patch.

[GIT PULL FOR v3.9] tuner-core: map audmode to STEREO for radio devices.

2013-01-29 Thread Hans Verkuil
Hi Mauro, While cleaning up my outstanding git branches I came across this fix. We discussed this here: https://patchwork.kernel.org/patch/1457221/ And then I posted an RFCv2: https://patchwork.kernel.org/patch/1518751/ Unfortunately, I forgot about it and never posted a pull request. So

[RFC PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-01-29 Thread Hans Verkuil
This was part of my original em28xx patch series. That particular patch combined two things: this fix and the change where TRY_FMT would no longer return -EINVAL for unsupported pixelformats. The latter change was rejected (correctly), but we all forgot about the second part of the patch which

[RFC PATCH] meye: convert to the control framework

2013-01-29 Thread Hans Verkuil
This patch has been pending for a long time. I finally got around to posting it. I've rebased it to for_v3.9. It compiles fine, but since AFAIK nobody has the hardware I cannot test it. Regards, Hans Convert the meye driver to the control framework. Some private controls have been

[PATCH 1/5] [media] ttusbir: do not set led twice on resume

2013-01-29 Thread Sean Young
led_classdev_resume already sets the led. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/ttusbir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c index 78be8a9..f9226b8 100644 ---

[PATCH 4/5] [media] mceusb: make transmit work on HP transceiver

2013-01-29 Thread Sean Young
This transceiver expects the set IR TX ports and IR data as seperate packets, like the Windows driver does. Remove unnecessary kzalloc. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/mceusb.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff

[PATCH 3/5] [media] mceusb: make transmit work on the Philips IR transceiver

2013-01-29 Thread Sean Young
The GET_REVISION command puts the device in an unresponsive state, although it continues to report any IR activity. Note that GET_REVISION command is not documented, nor is any possible response to it parsed. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/mceusb.c | 8 +++- 1

[PATCH 2/5] [media] ttusbir: add missing endian conversion

2013-01-29 Thread Sean Young
spotted by sparse. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/ttusbir.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c index f9226b8..cf0d47f 100644 --- a/drivers/media/rc/ttusbir.c +++

[PATCH 5/5] [media] redrat3: fix transmit return value and overrun

2013-01-29 Thread Sean Young
If more than 127 different lengths are transmitted then the driver causes an overrun on sample_lens. Try to send as much as possible and return the amount sent. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/redrat3.c | 18 ++ 1 file changed, 6 insertions(+), 12

[PATCH RFC v2] media: tvp514x: add OF support

2013-01-29 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Guennadi

Re: [RFC PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-01-29 Thread Devin Heitmueller
On Tue, Jan 29, 2013 at 4:49 AM, Hans Verkuil hverk...@xs4all.nl wrote: This was part of my original em28xx patch series. That particular patch combined two things: this fix and the change where TRY_FMT would no longer return -EINVAL for unsupported pixelformats. The latter change was rejected

Re: Bug report - em28xx

2013-01-29 Thread Hans Verkuil
On Tue January 29 2013 15:18:12 Olivier Subilia wrote: Hi, First of all, I've no experience with this mailing list. I'm not sure I'm sending my report to the right place. If not, please don't hesitate to tell it to me (possibly with the right place address). I'm desperately trying to

Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia
Thanks for help. I must confess there are so many entries in menuconfig I can't find where enabling em28xx is hidden (20 minutes searching in vain :-( . Could you please help me ? Le 29/01/2013 15:59, Hans Verkuil a écrit : On Tue January 29 2013 15:18:12 Olivier Subilia wrote: Hi, First

[PULL] video_visstrim ov7670_for_v3.9.

2013-01-29 Thread Javier Martin
Hi Mauro, this is the pull request I sent to you two months ago. I've applied the patches on your 'for_v3.9' branch and everything is still working fine. Furthermore, I've added the SoB line. I hope everything is OK this time. If not please let me know. The following changes since commit

Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia
... Found ! (I had to activate other entries to make em28xx appear). Now the compile process is ok. I have to wait this evening at home to check if the module is OK. Thank you very much for helping -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

Re: Bug report - em28xx

2013-01-29 Thread Gianluca Gennari
Il 29/01/2013 15:59, Hans Verkuil ha scritto: On Tue January 29 2013 15:18:12 Olivier Subilia wrote: Hi, First of all, I've no experience with this mailing list. I'm not sure I'm sending my report to the right place. If not, please don't hesitate to tell it to me (possibly with the right

Re: Bug report - em28xx

2013-01-29 Thread Gianluca Gennari
Il 29/01/2013 16:30, Olivier Subilia ha scritto: Thanks for help. I must confess there are so many entries in menuconfig I can't find where enabling em28xx is hidden (20 minutes searching in vain :-( . Could you please help me ? You can use 'make xconfig' and the Find command (ctrl-F) ;-)

Re: Bug report - em28xx

2013-01-29 Thread Olivier Subilia
Thanks to Hans and grazie mille a Gianluca for their hints. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFCv1 PATCH 02/20] cx231xx: add required VIDIOC_DBG_G_CHIP_IDENT support.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This fixes a v4l2_compliance failure. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c

[RFCv1 PATCH 03/20] cx231xx: clean up radio support.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Radio should not use video or audio inputs. In addition, fix a bug in radio_g_tuner where s_tuner was called in the tuner subdev instead of g_tuner. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c | 79

[RFCv1 PATCH 10/20] cx231xx: add struct v4l2_fh to get prio and event support.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Required to resolve v4l2-compliance failures. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c | 31 - drivers/media/usb/cx231xx/cx231xx.h |2 ++ 2 files changed, 28

[RFCv1 PATCH 04/20] cx231xx: remove broken audio input support from the driver.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The audio selection code is broken. Audio and video indices were mixed up and s_audio would reject changing the audio input to something else anyway, so what's the point? All the audio input code has been removed. Signed-off-by: Hans Verkuil

[RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-01-29 Thread Hans Verkuil
Hi all, This patch series cleans up the cx231xx driver based on v4l2-compliance reports. I have tested this on various cx231xx devices. However, I have no hardware that supports the radio tuner, so that's untested. Also note that vbi and the MPEG encoder support does not seem to work. It didn't

[RFCv1 PATCH 08/20] cx231xx: fix vbi compliance issues.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Various v4l2-compliance fixes: remove unused sliced VBI functions, zero the reserved fields of struct v4l2_vbi_format and implement the missing s_fmt_vbi_cap. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv1 PATCH 06/20] cx231xx: fix a bunch of TRY/S_FMT bugs.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Fixed a number of incorrect size and bytesperline calculations, remove an invalid busy check in try_fmt_vid_cap (try_fmt can never return EBUSY) and zero the priv field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv1 PATCH 09/20] cx231xx: convert to the control framework.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This is needed to resolve the v4l2-compliance complaints about the control ioctls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-audio.c |4 - drivers/media/usb/cx231xx/cx231xx-cards.c |2 -

[RFCv1 PATCH 11/20] cx231xx: remove current_norm usage.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The use of this field is deprecated since it will not work when multiple device nodes reference the same video input (the video and vbi nodes in this case). The norm field should be a device-global value. Signed-off-by: Hans Verkuil

[RFCv1 PATCH 13/20] cx231xx: get rid of a bunch of unused cx231xx_fh fields.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c |6 +- drivers/media/usb/cx231xx/cx231xx.h | 18 +- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git

[RFCv1 PATCH 12/20] cx231xx: replace ioctl by unlocked_ioctl.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com There was already a core lock, so why wasn't ioctl already replaced by unlock_ioctl? This patch switches to unlocked_ioctl. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 15 ++-

[RFCv1 PATCH 14/20] cx231xx: improve std handling.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Set the initial standard of subdevices instead of leaving it undefined. Also update the width and height when a new standard is chosen and return -EBUSY when attempting to change the standard while videobuf is busy. Signed-off-by: Hans Verkuil

[RFCv1 PATCH 05/20] cx231xx: fix tuner compliance issues.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The g_tuner call wasn't passed on to the subdevices, g_frequency didn't check for invalid tuners and a low-level function that was expected to return 0 or a negative error returned a positive number instead, causing s_frequency to return bogus errors.

[RFCv1 PATCH 15/20] cx231xx-417: remove empty functions.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 68 +-- 1 file changed, 1 insertion(+), 67 deletions(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c

[RFCv1 PATCH 17/20] cx231xx-417: fix g/try_fmt compliance problems

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Colorspace, field and priv were not set, and sizeimage was calculated using the wrong values (dev-ts1.ts_packet_size and dev-ts1.ts_packet_count can be 0 at module load). Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv1 PATCH 01/20] cx231xx: add device_caps support to QUERYCAP.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This fixes a v4l2_compliance failure. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git

[RFCv1 PATCH 07/20] cx231xx: fix frequency clamping.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Let the tuner clamp the frequency and store that clamped value. This fixes a v4l2_compliance failure. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-video.c | 33 +++-- 1 file changed,

[RFCv1 PATCH 20/20] cx231xx-417: convert to the control framework.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 213 --- drivers/media/usb/cx231xx/cx231xx.h |2 +- 2 files changed, 86 insertions(+), 129 deletions(-) diff --git

[RFCv1 PATCH 16/20] cx231xx-417: use one querycap for all device nodes.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 20 +--- drivers/media/usb/cx231xx/cx231xx-video.c |6 +++--- drivers/media/usb/cx231xx/cx231xx.h |2 ++ 3 files changed, 6

[RFCv1 PATCH 18/20] cx231xx-417: checkpatch cleanups.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 732 +++ 1 file changed, 360 insertions(+), 372 deletions(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c

[RFCv1 PATCH 19/20] cx231xx-417: share ioctls with cx231xx-video.

2013-01-29 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Share tuner, frequency, debug and input ioctls with cx231xx-video. These are all shared resources, so no need to implement them again. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/usb/cx231xx/cx231xx-417.c | 113

Re: [RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-01-29 Thread Devin Heitmueller
On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I will take a closer look at the vbi support, though.. It would be nice to get that working. FYI: I had the VBI support working when I submitted the driver upstream (at least for NTSC CC). If it doesn't work, then

Re: [RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-01-29 Thread Hans Verkuil
On Tue January 29 2013 17:41:29 Devin Heitmueller wrote: On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I will take a closer look at the vbi support, though.. It would be nice to get that working. FYI: I had the VBI support working when I submitted the driver

Re: [REVIEW PATCH 11/12] em28xx: make ioctl VIDIOC_DBG_G_CHIP_IDENT available for radio devices

2013-01-29 Thread Frank Schäfer
Am 28.01.2013 11:00, schrieb Hans Verkuil: On Fri January 25 2013 18:27:01 Frank Schäfer wrote: Signed-off-by: Frank Schäfer fschaefer@googlemail.com --- drivers/media/usb/em28xx/em28xx-video.c |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git

Re: [RFC PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-01-29 Thread Frank Schäfer
Am 29.01.2013 10:49, schrieb Hans Verkuil: This was part of my original em28xx patch series. That particular patch combined two things: this fix and the change where TRY_FMT would no longer return -EINVAL for unsupported pixelformats. The latter change was rejected (correctly), but we all

Re: [RFC PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-01-29 Thread Hans Verkuil
On Tue January 29 2013 18:51:46 Frank Schäfer wrote: Am 29.01.2013 10:49, schrieb Hans Verkuil: This was part of my original em28xx patch series. That particular patch combined two things: this fix and the change where TRY_FMT would no longer return -EINVAL for unsupported pixelformats. The

Re: Problem with 187f:0202(Siano Mobile Silicon Nice) not automatically load smsdvb

2013-01-29 Thread 林博仁
Hi, I'm going to unsubscribe this mailing list (cause of flooding my mailbox ;)) Please send a mail to me if there's any progress. Sorry for any annoyance :( Sincerely, Henry Lin pika1...@gmail.com 2013/1/2 林博仁 pika1...@gmail.com: Hi, I tried to make a DVB-T reciever which uses ID

Re: [RFC PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-01-29 Thread Mauro Carvalho Chehab
Em Tue, 29 Jan 2013 19:21:50 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On Tue January 29 2013 18:51:46 Frank Schäfer wrote: Am 29.01.2013 10:49, schrieb Hans Verkuil: This was part of my original em28xx patch series. That particular patch combined two things: this fix and the

Re: Bug report - em28xx

2013-01-29 Thread Mauro Carvalho Chehab
Em Tue, 29 Jan 2013 16:40:18 +0100 Gianluca Gennari gennar...@gmail.com escreveu: Il 29/01/2013 15:59, Hans Verkuil ha scritto: On Tue January 29 2013 15:18:12 Olivier Subilia wrote: Hi, First of all, I've no experience with this mailing list. I'm not sure I'm sending my report to the

cron job: media_tree daily build: WARNINGS

2013-01-29 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Jan 29 19:00:20 CET 2013 git branch: for_v3.9 git hash: a32f7d1ad3744914273c6907204c2ab3b5d496a0 gcc

Re: On MIPI-CSI2 YUV420 formats and V4L2 Media Bus formats

2013-01-29 Thread Laurent Pinchart
Hi Antonio, On Monday 28 January 2013 13:22:10 Antonio Ospite wrote: Hi, looking at the MIPI Alliance Specification for Camera Serial Interface 2 (I'll call it MIPI-CSI2 from now on, the document I am referring to is mentioned at [1] and available at [2]), I see there is an YUV420 8 bit

Re: [PATCH 2/7] mutex: add support for reservation style locks

2013-01-29 Thread Rob Clark
On Tue, Jan 15, 2013 at 6:33 AM, Maarten Lankhorst m.b.lankho...@gmail.com wrote: Hi Maarten, This is a nice looking extension to avoid re-implementing a mutex in TTM/reservation code.. ofc, probably someone more familiar with mutex code should probably review, but probably a bit of

[PATCH v2 0/1] Adds display-timing node parsing to exynos drm fimd

2013-01-29 Thread Vikas Sajjan
This patch adds display-timing node parsing to drm fimd, this depends on the display helper patchset at http://lists.freedesktop.org/archives/dri-devel/2013-January/033998.html It also adds pinctrl support for drm fimd. patch is based on branch exynos-drm-next at

[PATCH v2 1/1] video: drm: exynos: Adds display-timing node parsing using video helper function

2013-01-29 Thread Vikas Sajjan
This patch adds display-timing node parsing using video helper function Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 38 +++--- 1 file changed, 35

Re: [PATCH v2 0/1] Adds display-timing node parsing to exynos drm fimd

2013-01-29 Thread Sachin Kamat
Hi Vikas, Changelog mentioning differences between v1 and v2 is generally preferred as it will help the reviewers. On 30 January 2013 12:00, Vikas Sajjan vikas.saj...@linaro.org wrote: This patch adds display-timing node parsing to drm fimd, this depends on the display helper patchset at

[patch] [media] tm6000: check an allocation for failure

2013-01-29 Thread Dan Carpenter
This allocation had no error checking. It didn't need to be under the mutex so I moved it out form there. That makes the error handling easier and is a potential speed up. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/usb/tm6000/tm6000-core.c