The patch number 12346 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Mauro Carvalho Chehab <[email protected]>
em28xx: fix mutex inbalance
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
linux/drivers/media/video/em28xx/em28xx-video.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff -r ee6cf88cb5d3 -r f3d68e355da5
linux/drivers/media/video/em28xx/em28xx-video.c
--- a/linux/drivers/media/video/em28xx/em28xx-video.c Wed Jul 29 01:42:02
2009 -0300
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c Thu Jul 30 19:59:13
2009 -0300
@@ -1136,15 +1136,12 @@
switch (ctrl->id) {
case V4L2_CID_AUDIO_MUTE:
dev->mute = ctrl->value;
- return em28xx_audio_analog_set(dev);
+ rc = em28xx_audio_analog_set(dev);
break;
case V4L2_CID_AUDIO_VOLUME:
dev->volume = ctrl->value;
- return em28xx_audio_analog_set(dev);
+ rc = em28xx_audio_analog_set(dev);
}
-
- /* FIXME: should be returning a meaninful value */
- rc = 0;
}
mutex_unlock(&dev->lock);
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/f3d68e355da5e5a7ea8609b9abe52da89f1b1de2
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits