[PATCH] media: coda: Fix compile breakage

2013-04-26 Thread Alexander Shiyan
Patch adds GENERIC_ALLOCATOR, if "coda" is selected. drivers/built-in.o: In function `coda_remove': :(.text+0x110634): undefined reference to `gen_pool_free' drivers/built-in.o: In function `coda_probe': :(.text+0x1107d4): undefined reference to `of_get_named_gen_pool' :(.text+0x1108b8): undefined

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Guennadi Liakhovetski
Hi Sascha On Fri, 26 Apr 2013, Sascha Hauer wrote: > Hi Guennadi, > > On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > > + > > +static bool match_i2c(struct device *dev, struct v4l2_async_hw_info > > *hw_dev) > > +{ > > + struct i2c_client *client = i2c_verify_client(d

Re: [PATCH] soc_camera: Add V4L2_MBUS_FMT_YUYV10_2X10 format

2013-04-26 Thread Guennadi Liakhovetski
Hi Phil On Fri, 26 Apr 2013, phil.edwor...@renesas.com wrote: > Hi Guennadi, > > > > > > > > Wow, what kind of host can pack two 10-bit samples into 3 bytes > and > > > > > write > > > > > > 3-byte pixels to memory? > > > > > I think I might have misunderstood how this is used. From my > >

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Sylwester Nawrocki
Hi Guennadi, On 04/23/2013 03:01 PM, Guennadi Liakhovetski wrote: On Mon, 22 Apr 2013, Laurent Pinchart wrote: On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote: On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: + + if (notifier->unbind) + notifi

cron job: media_tree daily build: WARNINGS

2013-04-26 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 26 19:00:23 CEST 2013 git branch: test git hash: 4494f0fdd825958d596d05a4bd577df94b149038 gcc versi

Re: [PATCH] soc_camera: Add V4L2_MBUS_FMT_YUYV10_2X10 format

2013-04-26 Thread phil . edworthy
Hi Guennadi, > > > > > Wow, what kind of host can pack two 10-bit samples into 3 bytes and > > > > write > > > > > 3-byte pixels to memory? > > > > I think I might have misunderstood how this is used. From my > > > > understanding, the MBUS formats are used to describe the hardware > > > > i

Re: [PATCH 0/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Mauro Carvalho Chehab
Em Fri, 26 Apr 2013 10:46:22 -0300 Ezequiel Garcia escreveu: > Hi Mauro, > > Thanks for the patch! > > On Fri, Apr 26, 2013 at 09:49:15AM -0300, Mauro Carvalho Chehab wrote: > > > > I didn't add there the part of your code with the gm7113c specifics, > > as I prefer if you can rebase your patc

[PATCH v2 1/2] saa7115: move the autodetection code out of the probe function

2013-04-26 Thread Mauro Carvalho Chehab
As we're now seeing other variants from chinese clones, like gm1113c, we'll need to add more bits at the detection code. So, move it into a separate function. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/saa7115.c | 133 +++- 1 file changed,

[PATCH v2 2/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Mauro Carvalho Chehab
Adds a code that (auto)detects gm7113c clones. The auto-detection here is not perfect, as, on contrary to what it would be expected by looking into its datasheets some devices would return, instead: saa7115 0-0025: chip 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 @ 0x4a is unknown (f

Re: [PATCH 0/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Ezequiel Garcia
Hi Mauro, Thanks for the patch! On Fri, Apr 26, 2013 at 09:49:15AM -0300, Mauro Carvalho Chehab wrote: > > I didn't add there the part of your code with the gm7113c specifics, > as I prefer if you can rebase your patch on the top of those two, > of course assuming that they'll work. > > Patches

Re: [PATCH 1/2] saa7115: move the autodetection code out of the probe function

2013-04-26 Thread Ezequiel Garcia
On Fri, Apr 26, 2013 at 09:49:16AM -0300, Mauro Carvalho Chehab wrote: > As we're now seeing other variants from chinese clones, like > gm1113c, we'll need to add more bits at the detection code. > > So, move it into a separate function. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/

Re: [PATCH 2/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Ezequiel Garcia
On Fri, Apr 26, 2013 at 09:49:17AM -0300, Mauro Carvalho Chehab wrote: > Adds a code that (auto)detects gm7113c clones. The auto-detection > here is not perfect, as, on contrary to what it would be expected > by looking into its datasheets some devices would return, instead: > > saa7115 0-00

[PATCH] media: i2c: adv7343: add OF support

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the adv7343 driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree-di

[PATCH 1/2] saa7115: move the autodetection code out of the probe function

2013-04-26 Thread Mauro Carvalho Chehab
As we're now seeing other variants from chinese clones, like gm1113c, we'll need to add more bits at the detection code. So, move it into a separate function. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/saa7115.c | 133 +++- 1 file changed,

[PATCH 2/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Mauro Carvalho Chehab
Adds a code that (auto)detects gm7113c clones. The auto-detection here is not perfect, as, on contrary to what it would be expected by looking into its datasheets some devices would return, instead: saa7115 0-0025: chip 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 @ 0x4a is unknown (f

[PATCH 0/2] saa7115: add detection code for gm7113c

2013-04-26 Thread Mauro Carvalho Chehab
Hi Jen, Ezequiel pinged me today on IRC warning me that, at least on his stk1160 device with gm1113c, the analog demod, labeled as GM1113C 1145, returns 0x10 on all reads (e. g. version 0). So, I decided to write a patch with the ideas I exposed on my last emails, plus a code that would allow saa

[PATCH] media: i2c: tvp514x: add OF support

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree-di

Re: [PATCH v2] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sylwester Nawrocki
On 04/26/2013 10:52 AM, Sachin Kamat wrote: > When 'node' is NULL, the print statement tries to dereference it. > Hence replace the variable with the one that is accessible. > > Signed-off-by: Sachin Kamat > --- > Changes since v1: > Used pdev->dev.of_node->full_name for node name. Patch applied

Re: Kernel Patch:do not wait for interrupt when releasing buffers

2013-04-26 Thread Guennadi Liakhovetski
On Fri, 26 Apr 2013, vishwanath chandapur wrote: > Hi > > Thanks for support.One more last question Is this bug was known issue with > old kernel(3.0). Don't remember hearing about or seeing such a problem, no. Thanks Guennadi > Best Regards > Vishwa > > > On Fri, Apr 26, 2013 at 3:34 PM, Gu

Re: Kernel Patch:do not wait for interrupt when releasing buffers

2013-04-26 Thread Guennadi Liakhovetski
On Fri, 26 Apr 2013, vishwanath chandapur wrote: > Yes it is 3.0 > > >>please update and re-test. > Please let me know which version i need to update, Please, see my first reply to you. Thanks Guennadi > > Thanks > Vishwa > > > On Fri, Apr 26, 2013 at 3:23 PM, Guennadi Liakhovetski < > g.li

Re: Kernel Patch:do not wait for interrupt when releasing buffers

2013-04-26 Thread Guennadi Liakhovetski
On Fri, 26 Apr 2013, vishwanath chandapur wrote: > Hi Guennadi, > > Thank you for reply > > Sorry that was typo mistake . > Kernel Version :3.0.8 So, it is 3.0? Sorry, please update and re-test. Thanks Guennadi > > > Br > Vishwa > > > On Fri, Apr 26, 2013 at 3:13 PM, Guennadi Liakhovetsk

Re: [PATCH 23/24] V4L2: mt9p031: add struct v4l2_subdev_platform_data to platform data

2013-04-26 Thread Sascha Hauer
On Fri, Apr 26, 2013 at 10:43:28AM +0200, Guennadi Liakhovetski wrote: > Hi Sascha > > On Fri, 26 Apr 2013, Sascha Hauer wrote: > > > > > > > > > That information should be conveyed by platform/DT data for the host, > > > > and be > > > > used to convert the 12-bit media bus code into a 8-bit

[PATCH v2] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sachin Kamat
When 'node' is NULL, the print statement tries to dereference it. Hence replace the variable with the one that is accessible. Signed-off-by: Sachin Kamat --- Changes since v1: Used pdev->dev.of_node->full_name for node name. --- drivers/media/platform/exynos4-is/mipi-csis.c |2 +- 1 file cha

Re: [PATCH 1/1] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sachin Kamat
Hi Sylwester, On 26 April 2013 14:22, Sylwester Nawrocki wrote: > On 04/26/2013 06:44 AM, Sachin Kamat wrote: >> When 'node' is NULL, the print statement tries to dereference it. >> Remove it from the error message. >> >> Signed-off-by: Sachin Kamat >> --- >> drivers/media/platform/exynos4-is/m

Re: [PATCH 1/1] [media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

2013-04-26 Thread Sylwester Nawrocki
On 04/26/2013 06:44 AM, Sachin Kamat wrote: > When 'node' is NULL, the print statement tries to dereference it. > Remove it from the error message. > > Signed-off-by: Sachin Kamat > --- > drivers/media/platform/exynos4-is/mipi-csis.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Sascha Hauer
Hi Guennadi, On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > + > +static bool match_i2c(struct device *dev, struct v4l2_async_hw_info *hw_dev) > +{ > + struct i2c_client *client = i2c_verify_client(dev); > + return client && > + hw_dev->bus_type == V4L2

Re: [PATCH 23/24] V4L2: mt9p031: add struct v4l2_subdev_platform_data to platform data

2013-04-26 Thread Guennadi Liakhovetski
Hi Sascha On Fri, 26 Apr 2013, Sascha Hauer wrote: > Hi Guennadi, > > On Mon, Apr 22, 2013 at 02:39:57PM +0200, Guennadi Liakhovetski wrote: > > On Mon, 22 Apr 2013, Laurent Pinchart wrote: > > > > > Hi Guennadi, > > > > > > On Thursday 18 April 2013 23:47:26 Guennadi Liakhovetski wrote: > > >

Re: [PATCH 23/24] V4L2: mt9p031: add struct v4l2_subdev_platform_data to platform data

2013-04-26 Thread Sascha Hauer
Hi Guennadi, On Mon, Apr 22, 2013 at 02:39:57PM +0200, Guennadi Liakhovetski wrote: > On Mon, 22 Apr 2013, Laurent Pinchart wrote: > > > Hi Guennadi, > > > > On Thursday 18 April 2013 23:47:26 Guennadi Liakhovetski wrote: > > > On Thu, 18 Apr 2013, Guennadi Liakhovetski wrote: > > > > Adding str

[PATCH] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch enables tvp7002 decoder driver for media controller based usage by adding v4l2_subdev_pad_ops operations support for enum_mbus_code, set_pad_format, get_pad_format and media_entity_init() on probe and media_entity_cleanup() on remove. The device supports 1 output