cron job: media_tree daily build: OK

2014-06-04 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: Thu Jun 5 04:00:28 CEST 2014 git branch: test git hash: 5ea878796f0a1d9649fe43a6a09df53d3915c0ef gcc versi

Re: [RFC PATCH] [media] mt9v032: Add support for mt9v022 and mt9v024

2014-06-04 Thread Laurent Pinchart
Hi Philipp, On Tuesday 03 June 2014 11:30:31 Philipp Zabel wrote: > Am Mittwoch, den 28.05.2014, 16:44 +0200 schrieb Laurent Pinchart: > > If you had submitted an entirely new driver for a sensor already supported > > by an soc-camera sensor driver, I would have told you to fix the problem > > on

Re: [PATCH v3 2/2] [media] mt9v032: use regmap

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch On Wednesday 04 June 2014 18:57:03 Philipp Zabel wrote: > This switches all register accesses to use regmap. It allows to > use the regmap cache, tracing, and debug register dump facilities, > and removes the need to open code read-modify-writes. > > Signed-of

Re: [PATCH v3 1/2] [media] mt9v032: register v4l2 asynchronous subdevice

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Wednesday 04 June 2014 18:57:02 Philipp Zabel wrote: > Add support for registering the sensor subdevice using the v4l2-async API. > > Signed-off-by: Philipp Zabel Acked-by; Laurent Pinchart and applied to my tree. > --- > Changes since v1: > - Simpli

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

2014-06-04 Thread Mauro Carvalho Chehab
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 you planning to do? My intention is to send my pull request after yours ;) Thanks! Ma

Re: [PATCH v2 5/5] [media] mt9v032: use regmap

2014-06-04 Thread Laurent Pinchart
Hi Philipp, On Wednesday 04 June 2014 18:45:28 Philipp Zabel wrote: > Am Mittwoch, den 04.06.2014, 17:44 +0200 schrieb Laurent Pinchart: > > On Tuesday 03 June 2014 11:35:55 Philipp Zabel wrote: > > > This switches all register accesses to use regmap. It allows to > > > use the regmap cache, traci

[RFC 0/2] gspca_kinect: add support for the depth stream

2014-06-04 Thread Antonio Ospite
Hi, Alexander needed to get the depth stream out of a Kinect without using libusb because he experienced problem with that on the RaspberryPi, and using v4l2 proved to be useful to him (BTW Alexander any actual benchmark?). So with the following patches I want to explore how to support the depth

[RFC 1/2] gspca: provide a mechanism to select a specific transfer endpoint

2014-06-04 Thread Antonio Ospite
Add a xfer_ep_index field to struct gspca_dev, and change alt_xfer() so that it accepts a parameter which represents a specific endpoint to look for. If a subdriver wants to specify a value for gspca_dev->xfer_ep_index it can do that in its sd_config() callback. Signed-off-by: Antonio Ospite ---

[RFC 2/2] gspca_kinect: add support for the depth stream

2014-06-04 Thread Antonio Ospite
Add support for the depth mode at 10bpp, use a command line parameter to switch mode. NOTE: this is just a proof-of-concept, the final implementation will have to expose two v4l2 devices, one for the video stream and one for the depth stream. Signed-off-by: Alexander Sosna Signed-off-by: Antonio

[PATCH v2 1/2] [media] coda: Return the real error on platform_get_irq()

2014-06-04 Thread Fabio Estevam
From: Fabio Estevam No need to return a 'fake' return value on platform_get_irq() failure. Propagate the real error instead. Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel --- Changes since v1: - None. Only rebased against latest tree drivers/media/platform/coda.c | 2 +- 1 file chang

[PATCH v2 2/2] [media] coda: Propagate the correct error on devm_request_threaded_irq()

2014-06-04 Thread Fabio Estevam
From: Fabio Estevam If devm_request_threaded_irq() fails, we should better propagate the real error. Also, print out the error code in the dev_err message. Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel --- Changes since v1: - None. Only rebased against latest tree drivers/media/platf

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

2014-06-04 Thread Mauro Carvalho Chehab
Em Mon, 02 Jun 2014 10:28:18 +0200 Hans Verkuil 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, > only composing, etc.). > > In particular I showed what I thought should

[GIT PULL for v3.16-rc1] media updates for next

2014-06-04 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For the media updates for the next kernel version. It contains: - a new frontend/tuner driver set for si2168 and sa2157; - Videobuf 2 core now supports DVB too; -

[PATCH v3 2/2] [media] mt9v032: use regmap

2014-06-04 Thread Philipp Zabel
This switches all register accesses to use regmap. It allows to use the regmap cache, tracing, and debug register dump facilities, and removes the need to open code read-modify-writes. Signed-off-by: Philipp Zabel --- Changes since v2: - Updated for dropped "reset is self-clearing" patch --- dr

[PATCH v3 1/2] [media] mt9v032: register v4l2 asynchronous subdevice

2014-06-04 Thread Philipp Zabel
Add support for registering the sensor subdevice using the v4l2-async API. Signed-off-by: Philipp Zabel --- Changes since v1: - Simplified error path, call media_entity_cleanup even if media_entity_init failed. --- drivers/media/i2c/mt9v032.c | 12 +++- 1 file changed, 11 insertions(

Re: [PATCH v2 5/5] [media] mt9v032: use regmap

2014-06-04 Thread Philipp Zabel
Hi Laurent, Am Mittwoch, den 04.06.2014, 17:44 +0200 schrieb Laurent Pinchart: > Hi Philipp, > > Thank you for the patch. > > On Tuesday 03 June 2014 11:35:55 Philipp Zabel wrote: > > This switches all register accesses to use regmap. It allows to > > use the regmap cache, tracing, and debug reg

Re: [PATCH v2 5/5] [media] mt9v032: use regmap

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 03 June 2014 11:35:55 Philipp Zabel wrote: > This switches all register accesses to use regmap. It allows to > use the regmap cache, tracing, and debug register dump facilities, > and removes the need to open code read-modify-writes. > > Signed-off

Re: [PATCH v2 1/5] [media] mt9v032: reset is self clearing

2014-06-04 Thread Philipp Zabel
Hi Laurent, Am Mittwoch, den 04.06.2014, 16:49 +0200 schrieb Laurent Pinchart: > Hi Philipp, > > Thank you for the patch. > > On Tuesday 03 June 2014 11:35:51 Philipp Zabel wrote: > > According to the publicly available MT9V032 data sheet, the reset bits are > > self clearing and the reset regis

Re: [PATCH v2 2/5] [media] mt9v032: register v4l2 asynchronous subdevice

2014-06-04 Thread Philipp Zabel
Hi Laurent, Am Mittwoch, den 04.06.2014, 16:16 +0200 schrieb Laurent Pinchart: > Hi Philipp, > > Thank you for the patch. > > On Tuesday 03 June 2014 11:35:52 Philipp Zabel wrote: > > Add support for registering the sensor subdevice using the v4l2-async API. > > > > Signed-off-by: Philipp Zabel

Re: [PATCH v2 4/5] [media] mt9v032: add support for mt9v022 and mt9v024

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 03 June 2014 11:35:54 Philipp Zabel wrote: > From the looks of it, mt9v022 and mt9v032 are very similar, > as are mt9v024 and mt9v034. With minimal changes it is possible > to support mt9v02[24] with the same driver. > > Signed-off-by: Philipp Zabe

Re: [PATCH v2 3/5] [media] mt9v032: do not clear reserved bits in read mode register

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 03 June 2014 11:35:53 Philipp Zabel wrote: > The read mode register bits 8 and 9 are set and marked as reserved. > Don't clear them. > > Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart and applied to my tree. > --- > Changes since v1:

Re: [PATCH v2 1/5] [media] mt9v032: reset is self clearing

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 03 June 2014 11:35:51 Philipp Zabel wrote: > According to the publicly available MT9V032 data sheet, the reset bits are > self clearing and the reset register always reads 0. The reset will be > asserted for 15 SYSCLK cycles. Instead of writing 0 to

Re: [PATCH v2 2/5] [media] mt9v032: register v4l2 asynchronous subdevice

2014-06-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 03 June 2014 11:35:52 Philipp Zabel wrote: > Add support for registering the sensor subdevice using the v4l2-async API. > > Signed-off-by: Philipp Zabel > --- > Changes since v1: > - Fixed cleanup and error handling > --- > drivers/media/i2c/mt9

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

2014-06-04 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. Laurent Pinchart (2): v4l: vb2: Don't return POLLERR during transient buffer und

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

2014-06-04 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 indic

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

2014-06-04 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 01/12] trivial: drivers/media/usb/gspca/gspca.c: fix the indentation of a comment

2014-06-04 Thread Antonio Ospite
Fix indentation of a comment, put it on the same level of the code it refers to. Signed-off-by: Antonio Ospite Cc: Hans de Goede Cc: linux-media@vger.kernel.org --- drivers/media/usb/gspca/gspca.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/gspca/g

[PATCH 02/12] trivial: drivers/media/usb/gspca/gspca.h: indent with TABs, not spaces

2014-06-04 Thread Antonio Ospite
Signed-off-by: Antonio Ospite Cc: Hans de Goede Cc: linux-media@vger.kernel.org --- drivers/media/usb/gspca/gspca.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/gspca/gspca.h b/drivers/media/usb/gspca/gspca.h index 300642d..c1273e5 100644 --- a/drivers/me

[PATCH v2 1/1] v4l: subdev: Unify argument validation across IOCTLs

2014-06-04 Thread Sakari Ailus
Separate validation of different argument types. There's no reason to do this separately for every IOCTL. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- since v1: - Declare rval in the beginning of subdev_do_ioctl(). drivers/media/v4l2-core/v4l2-subdev.c | 120 +

Re: [PATCH 1/1] v4l: subdev: Unify argument validation across IOCTLs

2014-06-04 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: Hi Sakari, Thank you for the patch. Thanks for the review! On Tuesday 03 June 2014 12:25:16 Sakari Ailus wrote: ... @@ -202,26 +251,20 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) #if defined(CONFIG_VIDEO_V4L2_SUBDEV_AP