[PATCH] [media] bttv-driver, usbvision-video: use to_video_device()

2015-12-22 Thread Geliang Tang
Use to_video_device() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/media/pci/bt8xx/bttv-driver.c | 2 +- drivers/media/usb/usbvision/usbvision-video.c | 27 +-- 2 files changed, 10 insertions(+), 19 deletions(-) diff

Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly

2015-12-22 Thread Maxime Ripard
Hi, On Tue, Dec 22, 2015 at 12:27:35PM +0800, Chen-Yu Tsai wrote: > The driver allocates the spinlock but fails to initialize it correctly. > The kernel reports a BUG indicating bad spinlock magic when spinlock > debugging is enabled. > > Call spin_lock_init() on it to initialize it correctly. >

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Mauro Carvalho Chehab
Em Tue, 22 Dec 2015 20:06:38 +0200 Laurent Pinchart <laurent.pinch...@ideasonboard.com> escreveu: > Hi Javier, > > On Tuesday 22 December 2015 09:40:43 Javier Martinez Canillas wrote: > > On 12/22/2015 07:18 AM, Valdis Kletnieks wrote: > > > next-20151222 fai

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Laurent Pinchart
Hi Javier, On Tuesday 22 December 2015 09:40:43 Javier Martinez Canillas wrote: > On 12/22/2015 07:18 AM, Valdis Kletnieks wrote: > > next-20151222 fails to build for me: > > CC drivers/media/usb/uvc/uvc_driver.o > > > > drivers/media/usb/uvc/uvc_drive

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Laurent Pinchart
Hi Mauro, On Tuesday 22 December 2015 16:33:50 Mauro Carvalho Chehab wrote: > Em Tue, 22 Dec 2015 20:06:38 +0200 Laurent Pinchart escreveu: > > On Tuesday 22 December 2015 09:40:43 Javier Martinez Canillas wrote: > > > On 12/22/2015 07:18 AM, Valdis Kletnieks wrote: > >

cron job: media_tree daily build: OK

2015-12-22 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: Wed Dec 23 04:00:17 CET 2015 git branch: test git hash: 0aff8a894a2be4c22e6414db33061153a4b35bc9 gcc

Re:Hi

2015-12-22 Thread hi
Hello iphone 6s , € 358 laptop, moto, tv, gultar, bike, dj, the shipping is free si te: poazzlo .com

[no subject]

2015-12-22 Thread Financial Service
Are you in need of private or business loans for various purposes? if yes,apply now -- 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

[PATCH] next: media: cx231xx: add #ifdef to fix compile error

2015-12-22 Thread Okash Khawaja
Compiling linux-next gave this warning: drivers/media/usb/cx231xx/cx231xx-cards.c: In function ‘cx231xx_usb_probe’: drivers/media/usb/cx231xx/cx231xx-cards.c:1754:36: error: ‘struct cx231xx’ has no member named ‘media_dev’ retval = media_device_register(dev->media_dev); Looking at the

Re: per-frame camera metadata (again)

2015-12-22 Thread Guennadi Liakhovetski
Hi Laurent, On Mon, 21 Dec 2015, Laurent Pinchart wrote: > Hi Guennadi, > > On Wednesday 16 December 2015 12:25:24 Guennadi Liakhovetski wrote: > > On Wed, 16 Dec 2015, Hans Verkuil wrote: > > > On 12/16/15 10:37, Guennadi Liakhovetski wrote: > > > > Hi all, > > > > > > > > A project, I am

next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Valdis Kletnieks
next-20151222 fails to build for me: CC drivers/media/usb/uvc/uvc_driver.o drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe': drivers/media/usb/uvc/uvc_driver.c:1941:32: error: 'struct uvc_device' has no member named 'mdev' if (media_device_register(>mdev)

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Javier Martinez Canillas
Hello Valdis, On 12/22/2015 07:18 AM, Valdis Kletnieks wrote: > next-20151222 fails to build for me: > > CC drivers/media/usb/uvc/uvc_driver.o > drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe': > drivers/media/usb/uvc/uvc_driver.c:1941:32: error: 'struct

Re: [PATCH] next: media: cx231xx: add #ifdef to fix compile error

2015-12-22 Thread Javier Martinez Canillas
Hello Okash, On 12/22/2015 07:27 AM, Okash Khawaja wrote: > Compiling linux-next gave this warning: > > drivers/media/usb/cx231xx/cx231xx-cards.c: In function > ‘cx231xx_usb_probe’: > drivers/media/usb/cx231xx/cx231xx-cards.c:1754:36: error: ‘struct > cx231xx’ has no member named ‘media_dev’ >

Re: [PATCH] next: media: cx231xx: add #ifdef to fix compile error

2015-12-22 Thread Okash Khawaja
On Tue, Dec 22, 2015 at 09:46:19AM -0300, Javier Martinez Canillas wrote: > Hello Okash, > > On 12/22/2015 07:27 AM, Okash Khawaja wrote: > > Compiling linux-next gave this warning: > > > > drivers/media/usb/cx231xx/cx231xx-cards.c: In function > > ‘cx231xx_usb_probe’: > >

Re: per-frame camera metadata (again)

2015-12-22 Thread karthik poduval
I have been wanting to share these thoughts for the group but was waiting for the right time which I think is now since Guennadi brought up this discussion. For the Amazon Fire phone 4 corner camera, here is how we passed metadata from driver to application (which was a CV client requiring per

Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly

2015-12-22 Thread Hans de Goede
Hi, On 22-12-15 05:27, Chen-Yu Tsai wrote: The driver allocates the spinlock but fails to initialize it correctly. The kernel reports a BUG indicating bad spinlock magic when spinlock debugging is enabled. Call spin_lock_init() on it to initialize it correctly. Fixes: b4e3e59fb59c ("[media]

Re: [PATCH] next: media: cx231xx: add #ifdef to fix compile error

2015-12-22 Thread Javier Martinez Canillas
Hello Okash, On 12/22/2015 10:00 AM, Okash Khawaja wrote: [snip] > > Cool. There was another similar compile error > > https://lkml.org/lkml/2015/12/22/196 > Yes and you can see in that thread that I also mention that was fixed already :) > Thanks, > Okash > Best regards, -- Javier

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

2015-12-22 Thread Valdis . Kletnieks
On Tue, 22 Dec 2015 09:40:43 -0300, Javier Martinez Canillas said: > It was my forgetting to test with !CONFIG_MEDIA_CONTROLLER... > > Anyways, I've already posted a fix for this: > > https://lkml.org/lkml/2015/12/21/224 Thanks, that fixed it. When I posted, Google hadn't indexed that post yet

Re: [PATCH] next: media: cx231xx: add #ifdef to fix compile error

2015-12-22 Thread Okash Khawaja
> On 22 Dec 2015, at 13:08, Javier Martinez Canillas > wrote: > > Hello Okash, > > On 12/22/2015 10:00 AM, Okash Khawaja wrote: > > [snip] > >> >> Cool. There was another similar compile error >> >> https://lkml.org/lkml/2015/12/22/196 > > Yes and you can see in

[PATCH v2 0/2] adv7604: .get_selection support

2015-12-22 Thread Ulrich Hecht
Hi! The rcar_vin driver relies on this method. The second patch makes sure that they return up-to-date data if the input signal has changed since initialization. This revision implements .get_selection instead of .g_crop/.cropcap and includes the suggested style changes. It has been tested

[PATCH v2] adv7604: add direct interrupt handling

2015-12-22 Thread Ulrich Hecht
When probed from device tree, the i2c client driver can handle the interrupt on its own. Signed-off-by: Ulrich Hecht Reviewed-by: Laurent Pinchart --- This revision implements the suggested style changes and drops the

[PATCH v2 1/2] media: adv7604: implement get_selection

2015-12-22 Thread Ulrich Hecht
The rcar_vin driver relies on this. Signed-off-by: Ulrich Hecht --- drivers/media/i2c/adv7604.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index be5980c..8ad5c28 100644 ---

[PATCH v2 2/2] media: adv7604: update timings on change of input signal

2015-12-22 Thread Ulrich Hecht
Without this, .get_selection will always return the boot-time state. Signed-off-by: Ulrich Hecht --- drivers/media/i2c/adv7604.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index

Re: [PATCH v2] adv7604: add direct interrupt handling

2015-12-22 Thread Sergei Shtylyov
Hello. On 12/22/2015 05:21 PM, Ulrich Hecht wrote: When probed from device tree, the i2c client driver can handle the interrupt on its own. Signed-off-by: Ulrich Hecht Reviewed-by: Laurent Pinchart --- This revision

Re: sn9c20x: incorrect support for 0c45:6270 MT9V011/MT9V111 ?

2015-12-22 Thread Hans de Goede
Hi TJ, On 12/18/2015 12:48 PM, TJ wrote: I've been trying to get the 0c45:6270 Vehoh VMS-001 'Discovery' Microscope to work correctly and discovered what seem to be differences in the bridge_init and other control commands. The most obvious difference currently is the LEDs do not turn on,