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: V4L/DVB: gspca_cpia1: Restore QX3 illuminators' state on resume
Author:  Andy Walls <awa...@md.metrocast.net>
Date:    Sun Sep 12 14:45:18 2010 -0300

Turn the lights of the QX3 on (or off) as needed when resuming and at module 
load.

Signed-off-by: Andy Walls <awa...@md.metrocast.net>
Signed-off-by: Jean-François Moine <moin...@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>

 drivers/media/video/gspca/cpia1.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media-tree.git?a=commitdiff;h=41f8ab0c043affae8e9f620fff6a68824dc41772

diff --git a/drivers/media/video/gspca/cpia1.c 
b/drivers/media/video/gspca/cpia1.c
index a9a4074..3dbc7a1 100644
--- a/drivers/media/video/gspca/cpia1.c
+++ b/drivers/media/video/gspca/cpia1.c
@@ -1756,6 +1756,10 @@ static int sd_init(struct gspca_dev *gspca_dev)
        if (ret)
                return ret;
 
+       /* Ensure the QX3 illuminators' states are restored upon resume */
+       if (sd->params.qx3.qx3_detected)
+               command_setlights(gspca_dev);
+
        sd_stopN(gspca_dev);
 
        PDEBUG(D_PROBE, "CPIA Version:             %d.%02d (%d.%d)",

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to