Re: [PATCH] media: au0828: Convert BUG_ON to WARN_ONCE

2012-04-08 Thread Larry Finger
On 04/08/2012 08:46 PM, Devin Heitmueller wrote: On Sun, Apr 8, 2012 at 7:19 PM, Larry Finger wrote: In the mail thread at http://www.mythtv.org/pipermail/mythtv-users/2012-April/331164.html, a kernel crash is triggered when trying to run mythtv with a HVR950Q tuner. The crash condition is due

Re: [PATCH] media: au0828: Convert BUG_ON to WARN_ONCE

2012-04-08 Thread Devin Heitmueller
On Sun, Apr 8, 2012 at 7:19 PM, Larry Finger wrote: > In the mail thread at > http://www.mythtv.org/pipermail/mythtv-users/2012-April/331164.html, > a kernel crash is triggered when trying to run mythtv with a HVR950Q tuner. > The crash condition is due to res_free() being called to free somethin

[PATCH] media: au0828: Convert BUG_ON to WARN_ONCE

2012-04-08 Thread Larry Finger
In the mail thread at http://www.mythtv.org/pipermail/mythtv-users/2012-April/331164.html, a kernel crash is triggered when trying to run mythtv with a HVR950Q tuner. The crash condition is due to res_free() being called to free something that has is not reserved. The actual reason for this mismat

[PATCH] V4L: mt9m032: fix two dead-locks

2012-04-08 Thread Guennadi Liakhovetski
Fix a copy-paste typo and a nested locking function call in mt9m032. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/mt9m032.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/mt9m032.c b/drivers/media/video/mt9m032.c index 7636672..64

cron job: media_tree daily build: WARNINGS

2012-04-08 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:Sun Apr 8 19:00:22 CEST 2012 git hash:296da3cd14db9eb5606924962b2956c9c656dbb0 gcc version: i686-linux-gcc (GC

[PATCH] stk-webcam: Don't flip the image by default

2012-04-08 Thread Hans de Goede
Prior to this patch the stk-webcam driver was enabling the vflip and mirror bits in the sensor by default. Which only is the right thing to do if the sensor is actually mounted upside down, which it usually is not. Actually we've received upside down reports for both usb-ids which this driver supp

[PATCH 06/10] uvcvideo: Move __uvc_ctrl_get() up

2012-04-08 Thread Hans de Goede
This avoids the need for doing a forward declaration of __uvc_ctrl_get (which is a static function) in later patches in this series. Note to reviewers this patch does not change a single line of code, it just moves the function up in uvc_ctrl.c a bit. Signed-off-by: Hans de Goede Acked-by: Laure

[PATCH 07/10] uvcvideo: Add support for control events

2012-04-08 Thread Hans de Goede
Signed-off-by: Hans de Goede Acked-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_ctrl.c | 120 +++- drivers/media/video/uvc/uvc_v4l2.c | 43 ++--- drivers/media/video/uvc/uvcvideo.h | 20 -- 3 files changed, 169 insertions(+), 14 deletions(

[PATCH 04/10] uvcvideo: Fix a "ignoring return value of ‘__clear_user’" warning

2012-04-08 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/video/uvc/uvc_v4l2.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/video/uvc/uvc_v4l2.c b/drivers/media/video/uvc/uvc_v4l2.c index ff2cddd..8db90ef 100644 --- a/drivers/media/video/uvc/uvc_v4l2.c +++ b/driver

[PATCH 02/10] v4l2-event: Add v4l2_subscribed_event_ops

2012-04-08 Thread Hans de Goede
Just like with ctrl events, drivers may want to get called back on listener add / remove for other event types too. Rather then special casing all of this in subscribe / unsubscribe event it is better to use ops for this. Signed-off-by: Hans de Goede Acked-by: Hans Verkuil --- Documentation/vid

[PATCH 05/10] uvcvideo: Refactor uvc_ctrl_get and query

2012-04-08 Thread Hans de Goede
This is a preparation patch for adding ctrl event support. Signed-off-by: Hans de Goede Acked-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_ctrl.c | 77 +++- 1 file changed, 49 insertions(+), 28 deletions(-) diff --git a/drivers/media/video/uvc/uvc_ctrl

[PATCH 08/10] uvcvideo: Properly report the inactive flag for inactive controls

2012-04-08 Thread Hans de Goede
Note the unused in this patch slave_ids addition to the mappings will get used in a follow up patch to generate control change events for the slave ctrls when their flags change due to the master control changing value. Signed-off-by: Hans de Goede --- drivers/media/video/uvc/uvc_ctrl.c | 33 +

[PATCH 09/10] uvcvideo: Send control change events for slave ctrls when the master changes

2012-04-08 Thread Hans de Goede
This allows v4l2 control UI-s to update the inactive state (ie grey-ing out of controls) for slave controls when the master control changes. Signed-off-by: Hans de Goede --- drivers/media/video/uvc/uvc_ctrl.c | 57 ++-- 1 file changed, 54 insertions(+), 3 deleti

[PATCH 10/10] uvcvideo: Drop unused ctrl member from struct uvc_control_mapping

2012-04-08 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/video/uvc/uvc_ctrl.c |1 - drivers/media/video/uvc/uvcvideo.h |2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index 38d633a..d520c5c 100644 --- a/drivers/media/vide

[PATCH 03/10] v4l2-ctrls: Use v4l2_subscribed_event_ops

2012-04-08 Thread Hans de Goede
Signed-off-by: Hans de Goede Acked-by: Hans Verkuil --- drivers/media/video/ivtv/ivtv-ioctl.c |3 +- drivers/media/video/v4l2-ctrls.c | 58 ++--- drivers/media/video/v4l2-event.c | 39 -- include/media/v4l2-ctrls.h|

[PATCH 01/10] media/radio: use v4l2_ctrl_subscribe_event where possible

2012-04-08 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/radio/radio-isa.c | 10 +- drivers/media/radio/radio-keene.c | 14 +- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/drivers/media/radio/radio-isa.c b/drivers/media/radio/radio-isa.c index 06f9063..1346046 1

[PATCH 00/10] uvcvideo: Add support for control events (v2)

2012-04-08 Thread Hans de Goede
Here is v2 of my uvcvideo ctrl events patchset. It hopefully addresses all remarks you had wrt the previous version. As discussed before this also contains some none uvcvideo changes, which are necessary for the uvcvideo ctrl event support. Since these patches have already been reviewed and they a

Re: [PATCH 09/10] uvcvideo: Properly report the inactive flag for inactive controls

2012-04-08 Thread Hans de Goede
Hi, On 03/28/2012 11:12 AM, Laurent Pinchart wrote: Hi Hans, Thanks for the patch. On Sunday 25 March 2012 13:56:49 Hans de Goede wrote: Note the unused in this patch slave_ids addition to the mappings will get used in a follow up patch to generate control change events for the slave ctrls wh

Re: stk webcam driver needs DMI upside down table

2012-04-08 Thread Hans de Goede
Hi, On 04/06/2012 06:04 PM, Gregor Jasny wrote: Hello, I recently received a webcam upside down report from a ASUS Z96Fm owner. Usually we add the USB id and DMI information to the libv4l upside down table. Except for webcam drivers that can flip images in hardware. By looking at stk-webcam.c I

Re: [PATCH 2/2] ARM: mach-shmobile: sh7372 CEU supports up to 8188x8188 images

2012-04-08 Thread Guennadi Liakhovetski
On Wed, 14 Mar 2012, Guennadi Liakhovetski wrote: > Signed-off-by: Guennadi Liakhovetski > --- > > This patch we can push some time after the first one in this series gets > in, no breakage is caused. Patch 1/2 from this series is now in the mainline, so, also this patch can be applied now. N

[PATCH] rc-core: set mode for winbond-cir

2012-04-08 Thread David Härdeman
Setting the correct mode is required by rc-core or scancodes won't be generated (which isn't very user-friendly). This one-line fix should be suitable for 3.4-rc2. Signed-off-by: David Härdeman Cc: sta...@kernel.org --- drivers/media/rc/winbond-cir.c |1 + 1 file changed, 1 insertion(+) di