[PATCH] staging: omap4iss: copy paste error in iss_get_clocks

2014-06-05 Thread Vitaly Osipov
It makes more sense to return PTR_ERR(iss-iss_ctrlclk) here. The current code looks like an oversight in pasting the block just above this one. Signed-off-by: Vitaly Osipov vitaly.osi...@gmail.com --- drivers/staging/media/omap4iss/iss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC ATTN] Cropping, composing, scaling and S_FMT

2014-06-05 Thread Hans Verkuil
On 06/04/2014 08:40 PM, Mauro Carvalho Chehab wrote: Em Mon, 02 Jun 2014 10:28:18 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: During the media mini-summit I went through all 8 combinations of cropping, composing and scaling (i.e. none of these features is present, or only cropping,

Re: [PATCH/RFC 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-06-05 Thread Hans Verkuil
On 06/04/14 16:05, Laurent Pinchart wrote: The V4L2 specification states that When the application did not call VIDIOC_QBUF or VIDIOC_STREAMON yet the poll() function succeeds, but sets the POLLERR flag in the revents field. The vb2_poll() function sets POLLERR when the queued buffers

Re: [PATCH/RFC 2/2] v4l: vb2: Add fatal error condition flag

2014-06-05 Thread Hans Verkuil
Hi Laurent, There are some typos and the patch is against an old kernel. I'll wait with an Ack until I see the v2. Regards, Hans On 06/04/14 16:05, Laurent Pinchart wrote: When a fatal error occurs that render the device unusable, the only options for a driver to signal the error

Re: [GIT PULL FOR v3.16] uvcvideo fixes

2014-06-05 Thread William Manley
Hi Laurant On 12/05/14 23:43, Laurent Pinchart wrote: Hi William, On Friday 09 May 2014 14:33:57 William Manley wrote: Hi Laurent Any chance of my patch fixing manual exposure mode for the Logitech C920[1] going in for 3.16? I know I've been largely unresponsive regarding this patch,

Re: [RFC ATTN] Cropping, composing, scaling and S_FMT

2014-06-05 Thread Mauro Carvalho Chehab
Em Thu, 05 Jun 2014 09:20:33 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On 06/04/2014 08:40 PM, Mauro Carvalho Chehab wrote: Em Mon, 02 Jun 2014 10:28:18 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: During the media mini-summit I went through all 8 combinations of cropping,

[PATCH ATTN] uvcvideo: Work around buggy Logitech C920 firmware

2014-06-05 Thread Laurent Pinchart
From: William Manley w...@williammanley.net The uvcvideo webcam driver exposes the v4l2 control Exposure (Absolute) which allows the user to control the exposure time of the webcam, essentially controlling the brightness of the received image. By default the webcam automatically adjusts the

GOOD DAY,

2014-06-05 Thread YAO YUTA
My name is Mr Yao Yuta from Hong Kong, I want you to be my partner in a business project. If Interested Contact me back via my email address. Thank you, Mr. Yao Yuta. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

Re: [RFC ATTN] Cropping, composing, scaling and S_FMT

2014-06-05 Thread Hans Verkuil
On 06/05/14 13:06, Mauro Carvalho Chehab wrote: Em Thu, 05 Jun 2014 09:20:33 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On 06/04/2014 08:40 PM, Mauro Carvalho Chehab wrote: Em Mon, 02 Jun 2014 10:28:18 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: During the media mini-summit I

[PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-06-05 Thread Laurent Pinchart
The V4L2 specification states that When the application did not call VIDIOC_QBUF or VIDIOC_STREAMON yet the poll() function succeeds, but sets the POLLERR flag in the revents field. The vb2_poll() function sets POLLERR when the queued buffers list is empty, regardless of whether this is caused

[PATCH/RFC v2 2/2] v4l: vb2: Add fatal error condition flag

2014-06-05 Thread Laurent Pinchart
When a fatal error occurs that render the device unusable, the only options for a driver to signal the error condition to userspace is to set the V4L2_BUF_FLAG_ERROR flag when dequeuing buffers and to return an error from the buffer prepare handler when queuing buffers. The buffer error flag

[PATCH/RFC v2 0/2] vb2: Report POLLERR for fatal errors only

2014-06-05 Thread Laurent Pinchart
Hello, This patch set modifies the vb2 implementation of the poll() operation to set the POLLERR flag for fatal errors only. The rationale and implementation details are explained in the individual commit messages. Changes since to v1: - Rebased on top of the latest media tree master branch -

Re: [GIT PULL FOR v3.16] uvcvideo fixes

2014-06-05 Thread Laurent Pinchart
Hi William, On Thursday 05 June 2014 10:12:38 William Manley wrote: On 12/05/14 23:43, Laurent Pinchart wrote: On Friday 09 May 2014 14:33:57 William Manley wrote: Hi Laurent Any chance of my patch fixing manual exposure mode for the Logitech C920[1] going in for 3.16? I know

[GIT PULL for 3.16-rc1] add DT support for vsp1

2014-06-05 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media topic/vsp1 for Device Tree support for the VSP1 driver. Thanks! Mauro - The following changes since commit ce9c22443e77594531be84ba8d523f4148ba09fe: [media] vb2: fix compiler warning (2014-04-23

[GIT PULL for 3.16-rc1] updates and DT support for adv7604

2014-06-05 Thread Mauro Carvalho Chehab
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media topic/adv76xx For adv7604 driver updates, including DT support. Thanks! Mauro The following changes since commit e5e749dfa8606343fd7956868038bdde2e656ec1: [media] adv7604: Add missing include to

[PATCH/RFC 2/2] libv4l2: release the lock before doing a DQBUF

2014-06-05 Thread Thiago Santos
In blocking mode, if there are no buffers available the DQBUF will block waiting for a QBUF to be called but it will block holding the streaming lock which will prevent any QBUF from happening, causing a deadlock. Can be tested with: v4l2grab -t 1 -b 1 -s 2000 Signed-off-by: Thiago Santos

[PATCH/RFC 1/2] v4l2grab: Add threaded producer/consumer option

2014-06-05 Thread Thiago Santos
Adds options to allow the buffer dqbuf to happen on one thread while the qbuf happens on another. This is useful to test concurrency access to the v4l2 features. To enable this, 3 new options were added: t: enable threaded mode (off by default and will use the loop) b: enable blocking io mode

[PATCH/RFC 0/2] libv4l2: fix deadlock when DQBUF in block mode

2014-06-05 Thread Thiago Santos
This patchset modifies v4l2grab to allow using 2 threads (one for qbuf and another for dqbuf) to simulate multithreaded v4l2 usage. This is done to show a issue when using libv4l2 in blocking mode, if a DQBUF is issued when there are no buffers available it will block waiting for one but, as it

Re: [GIT PULL FOR v3.16] Migrate the OMAP3 ISP driver to videobuf2

2014-06-05 Thread Joerg Roedel
Hi Mauro, On Wed, Jun 04, 2014 at 08:53:10PM -0300, Mauro Carvalho Chehab wrote: Hi Joerg, I have one topic branch here that depends on your branch: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git arm/omap Did you send already a pull request for Linus? If not, when are

Re: [PATCH/RFC 1/2] v4l2grab: Add threaded producer/consumer option

2014-06-05 Thread Mauro Carvalho Chehab
Em Thu, 05 Jun 2014 12:31:23 -0300 Thiago Santos ts.san...@sisa.samsung.com escreveu: Adds options to allow the buffer dqbuf to happen on one thread while the qbuf happens on another. This is useful to test concurrency access to the v4l2 features. To enable this, 3 new options were added:

[PATCH 1/5] staging: lirc: remove sa1100 support

2014-06-05 Thread Arnd Bergmann
The LIRC support for sa1100 appears to have never worked because it relies on header files that have never been present in git history. Actually trying to build the driver on an ARM sa1100 kernel fails, so let's just remove the broken support. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Jarod

[PATCH 3/5] staging: sn9c102 depends on USB

2014-06-05 Thread Arnd Bergmann
If the USB code is a loadable module, this driver cannot be built-in. This adds an explicit dependency on CONFIG_USB so that Kconfig can force sn9c102 to be a module in this case. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Luca Risolia luca.riso...@studio.unibo.it Cc: Mauro Carvalho Chehab

[PATCH 0/5] randconfig build fixes for staging

2014-06-05 Thread Arnd Bergmann
Hi Greg, Here are a couple of simple fixes from my backlog of ARM randconfig bugs. Nothing urgent, they can probably all go into next for 3.17 after the merge window, but see for yourself. Arnd Arnd Bergmann (5): staging: lirc: remove sa1100 support staging/iio:

Leadtek WinFast DTV Dongle Dual

2014-06-05 Thread David Shirley
Hi All, Recently purchased one of these (0413:6a05), the instructions @ http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_DTV_Dual_Dongle appear to be wrong. Running 3.14.5 I didn't need to patch drivers/media/usb/dvb-usb-v2/af9035.c, however the tuner wouldn't work (it would be detected,

cron job: media_tree daily build: OK

2014-06-05 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: Fri Jun 6 04:00:31 CEST 2014 git branch: test git hash: 5ea878796f0a1d9649fe43a6a09df53d3915c0ef gcc

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-06-05 Thread Pawel Osciak
On Thu, Jun 5, 2014 at 9:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: The V4L2 specification states that When the application did not call VIDIOC_QBUF or VIDIOC_STREAMON yet the poll() function succeeds, but sets the POLLERR flag in the revents field. The vb2_poll()

Re: [PATCH/RFC v2 2/2] v4l: vb2: Add fatal error condition flag

2014-06-05 Thread Pawel Osciak
Hi Laurent, Thanks for the patch. Did you test this to work in fileio mode? Looks like it should, but would like to make sure. Thanks, Pawel On Thu, Jun 5, 2014 at 9:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: When a fatal error occurs that render the device unusable, the