This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] pwc: Fix codec1 cameras no longer working
Author:  Hans de Goede <[email protected]>
Date:    Mon Oct 8 06:05:24 2012 -0300

Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/usb/pwc/pwc-ctrl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=bb969707f99e12f7fbb21b261b33de16e3e4b31e

diff --git a/drivers/media/usb/pwc/pwc-ctrl.c b/drivers/media/usb/pwc/pwc-ctrl.c
index 1f506fd..3a16185 100644
--- a/drivers/media/usb/pwc/pwc-ctrl.c
+++ b/drivers/media/usb/pwc/pwc-ctrl.c
@@ -179,6 +179,8 @@ static int set_video_mode_Nala(struct pwc_device *pdev, int 
size, int pixfmt,
                return -EINVAL;
        if (frames < 4)
                frames = 4;
+       else if (size > PSZ_QCIF && frames > 15)
+               frames = 15;
        else if (frames > 25)
                frames = 25;
        frames = frames2frames[frames];

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to