RE: [PATCH v4 2/4] [media] videobuf2: return -EPIPE from DQBUF after the last buffer

2015-04-16 Thread Kamil Debski
Hi, From: Philipp Zabel [mailto:p.za...@pengutronix.de] Sent: Monday, April 13, 2015 6:15 PM To: Pawel Osciak Cc: LMML; Hans Verkuil; Kamil Debski; Laurent Pinchart; Nicolas Dufresne; Sakari Ailus; ker...@pengutronix.de Subject: Re: [PATCH v4 2/4] [media] videobuf2: return -EPIPE from DQBUF

honestech VIDBOX NW07 (eMPIA EM28284)

2015-04-16 Thread Markus Kuhn
I've recently bought an honestech VIDBOX for Mac pack which contains an honestech VIDBOX NW07 analog video to USB grabber device based on the eMPIA EM28284 chip. The only other chip on the PCB is a 24C32WP 4 kB serial EEPROM. USB ID = eb1a:5188 What is the status of Linux support for this

Re: [PATCH 1/7] v4l2: replace enum_mbus_fmt by enum_mbus_code

2015-04-16 Thread Scott Jiang
2015-04-09 18:21 GMT+08:00 Hans Verkuil hverk...@xs4all.nl: From: Hans Verkuil hans.verk...@cisco.com Replace all calls to the enum_mbus_fmt video op by the pad enum_mbus_code op and remove the duplicate video op. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Guennadi Liakhovetski

[PATCH 1/2] media-ctl: libv4l2subdev: Switch to MEDIA_BUS_FMT_*

2015-04-16 Thread Laurent Pinchart
The V4L2_MBUS_FMT_* macros have been replaced by corresponding MEDIA_BUS_FMT_* macros. The old names have been preserved for compatibility reasons, but new formats will use MEDIA_BUS_FMT_* only. Switch to the new name. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH 2/2] media-ctl: libv4l2subdev: Add missing formats

2015-04-16 Thread Laurent Pinchart
Add support for the RGB888_1X24, RGB888_1X32_PADHI and VUY8_1X24 formats. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- utils/media-ctl/libv4l2subdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/media-ctl/libv4l2subdev.c b/utils/media-ctl/libv4l2subdev.c

Re: [PATCH 5/7] v4l2: replace try_mbus_fmt by set_fmt in bridge drivers

2015-04-16 Thread Scott Jiang
2015-04-09 18:21 GMT+08:00 Hans Verkuil hverk...@xs4all.nl: From: Hans Verkuil hans.verk...@cisco.com Replace all calls to try_mbus_fmt in bridge drivers by calls to the set_fmt pad op. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc:

Re: [PATCH 6/7] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers

2015-04-16 Thread Scott Jiang
2015-04-09 18:21 GMT+08:00 Hans Verkuil hverk...@xs4all.nl: From: Hans Verkuil hans.verk...@cisco.com Replace all calls to s_mbus_fmt in bridge drivers by calls to the set_fmt pad op. Remove the old try/s_mbus_fmt video ops since they are now no longer used. Signed-off-by: Hans Verkuil

Re: [media] i2c: ov2659: signedness bug inov2659_set_fmt()

2015-04-16 Thread Lad, Prabhakar
On Wed, Apr 15, 2015 at 8:12 PM, Dan Carpenter dan.carpen...@oracle.com wrote: This needs to be signed or there is a risk of hitting a forever loop. Fixes: c4c0283ab3cd ('[media] media: i2c: add support for omnivision's ov2659 sensor') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com

[PATCH] [media] rtl28xxu: fix return value check in rtl2832u_tuner_attach()

2015-04-16 Thread weiyj_lk
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function platform_device_register_data() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [media] i2c: ov2659: signedness bug inov2659_set_fmt()

2015-04-16 Thread Benoit Parrot
Dan Carpenter dan.carpen...@oracle.com wrote on Wed [2015-Apr-15 22:12:18 +0300]: This needs to be signed or there is a risk of hitting a forever loop. Fixes: c4c0283ab3cd ('[media] media: i2c: add support for omnivision's ov2659 sensor') Signed-off-by: Dan Carpenter

Re: [PATCH v8 1/1] media: i2c/adp1653: Devicetree support for adp1653

2015-04-16 Thread Sebastian Reichel
Hi Pavel, On Thu, Apr 16, 2015 at 07:58:18AM +0200, Pavel Machek wrote: On Thu 2015-04-16 07:24:42, Sebastian Reichel wrote: Hi Sakari, Since this driver won't make it into 4.1 anyways, I have one more comment: Like this driver did not receive enough bikesheding. You should become

[PATCH -next] staging: dt3155v4l: remove unused including linux/version.h

2015-04-16 Thread weiyj_lk
From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove including linux/version.h that don't need it. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH] si2165 - Add DVB-C Support

2015-04-16 Thread beta992
From: beta990 Subject: [PATCH] si2165 - Add DVB-C Support This patch is based of the work of ZZram. I clean-up his patch and removed double code (e.g. double resets, actions, etc.): // -- init? ret = si2165_readreg8(state, 0x00e0, val); /* returned 0x00 */ if (ret 0) return ret; ret =

Re: OMAP3 ISP previewer Y10 to UYVY conversion

2015-04-16 Thread Chris Whittenburg
On Tue, Apr 7, 2015 at 10:51 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Black level compensation is applied by the CCDC before writing raw frames to memory. If your raw frames are correct BLC is probably not to blame. The default contrast is x1.0 and the default brightness

Re: [PATCH v8 1/1] media: i2c/adp1653: Devicetree support for adp1653

2015-04-16 Thread Pavel Machek
Hi! This will reduce complexity in the driver and should be fairly easy to implement, since there is no adp1653 platform code user in the mainline kernel anyways. I'd hate to break out of tree users for very little gain. ... So let's have a look at the advantages of removing the

Re: [PATCH 1/7] v4l2: replace enum_mbus_fmt by enum_mbus_code

2015-04-16 Thread Lad, Prabhakar
Hi Hans, Thanks for the patch. On Thu, Apr 9, 2015 at 11:21 AM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Replace all calls to the enum_mbus_fmt video op by the pad enum_mbus_code op and remove the duplicate video op. Signed-off-by: Hans Verkuil

Re: [PATCH 6/7] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers

2015-04-16 Thread Lad, Prabhakar
Hi Hans, Thanks for the patch. On Thu, Apr 9, 2015 at 11:21 AM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Replace all calls to s_mbus_fmt in bridge drivers by calls to the set_fmt pad op. Remove the old try/s_mbus_fmt video ops since they are now no

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-16 Thread Luis R. Rodriguez
On Thu, Apr 16, 2015 at 01:18:37PM +0900, Hyong-Youb Kim wrote: On Thu, Apr 16, 2015 at 01:58:16AM +0200, Luis R. Rodriguez wrote: An alternative... is to just ioremap_wc() the entire region, including MMIO registers for these old devices. I see one ethernet driver that does this,

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-16 Thread Andy Lutomirski
On Apr 15, 2015 6:54 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2015-04-15 at 17:58 -0700, Andy Lutomirski wrote: On Wed, Apr 15, 2015 at 4:59 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2015-04-15 at 16:42 -0700, Andy Lutomirski wrote: On Wed, Apr 15, 2015 at 3:38

Re: [PATCH v8 1/1] media: i2c/adp1653: Devicetree support for adp1653

2015-04-16 Thread Sakari Ailus
Hi Sebastian, On Thu, Apr 16, 2015 at 07:24:42AM +0200, Sebastian Reichel wrote: Hi Sakari, Since this driver won't make it into 4.1 anyways, I have one more comment: On Thu, Apr 16, 2015 at 02:37:13AM +0300, Sakari Ailus wrote: ... @@ -308,16 +311,28 @@ __adp1653_set_power(struct

Re: [PATCH 2/7] v4l2: replace video op g_mbus_fmt by pad op get_fmt

2015-04-16 Thread Lad, Prabhakar
Hi Hans, Thanks for the patch. On Thu, Apr 9, 2015 at 11:21 AM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com The g_mbus_fmt video op is a duplicate of the pad op. Replace all uses by the get_fmt pad op and remove the video op. Signed-off-by: Hans Verkuil

Re: [PATCH] rc-core: use an IDA rather than a bitmap

2015-04-16 Thread Stefan Lippers-Hollmann
Hi On 2015-04-02, David Härdeman wrote: This patch changes rc-core to use the kernel facilities that are already available for handling unique numbers instead of rolling its own bitmap stuff. Stefan, this should apply cleanly to the media git tree...could you test it? ---

cron job: media_tree daily build: ERRORS

2015-04-16 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 Apr 17 04:00:17 CEST 2015 git branch: test git hash: e183201b9e917daf2530b637b2f34f1d5afb934d gcc

[GIT PULL FOR v4.2] Improved V4L2 of endpoint interface with link-frequencies

2015-04-16 Thread Sakari Ailus
Hi Mauro, Here are patches to - add a new interface for parsing variable sized property arrays (the old v4l2_of_parse_endpoint() could be removed later on), - parse the link-frequencies endpoint property and - use the above in the smiapp driver. Please pull. The following changes since