The patch number 13266 was added via h...@rhel5-devel.localdomain
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 <linux-me...@vger.kernel.org>

------

From: Theodore Kilgore  <kilg...@banach.math.auburn.edu>
gspca_mr97310a: Fix / update some comments


gspca_mr97310a: Fix / update some comments

Priority: normal

Signed-off-by: Theodore Kilgore <kilg...@banach.math.auburn.edu>
Signed-off-by: Hans de Goede <hdego...@redhat.com>


---

 linux/drivers/media/video/gspca/mr97310a.c |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff -r c6d967b02649 -r cb8eca8a9990 linux/drivers/media/video/gspca/mr97310a.c
--- a/linux/drivers/media/video/gspca/mr97310a.c        Sun Nov 01 17:02:59 
2009 +0100
+++ b/linux/drivers/media/video/gspca/mr97310a.c        Sun Nov 01 17:07:08 
2009 +0100
@@ -814,9 +814,8 @@
 
        /* Some of the VGA cameras require the memory pointer
         * to be set to 0 again. We have been forced to start the
-        * stream somewhere else to detect the hardware, and closed it,
-        * and now since we are restarting the stream we need to do a
-        * completely fresh and clean start. */
+        * stream in sd_config() to detect the hardware, and closed it.
+        * Thus, we need here to do a completely fresh and clean start. */
        err_code = zero_the_pointer(gspca_dev);
        if (err_code < 0)
                return err_code;
@@ -875,7 +874,7 @@
                value_reg += 4;
        }
 
-       /* Note register 7 is also seen as 0x8x or 0xCx in dumps */
+       /* Note register 7 is also seen as 0x8x or 0xCx in some dumps */
        if (sd->brightness > 0) {
                sensor_write1(gspca_dev, sign_reg, 0x00);
                val = sd->brightness;
@@ -900,7 +899,7 @@
                return;
 
        if (sd->cam_type == CAM_TYPE_CIF && sd->sensor_type == 1) {
-               /* This cam does not like exposure settings > 300,
+               /* This cam does not like exposure settings < 300,
                   so scale 0 - 4095 to 300 - 4095 */
                exposure = (sd->exposure * 9267) / 10000 + 300;
                sensor_write1(gspca_dev, 3, exposure >> 4);
@@ -908,7 +907,7 @@
        } else {
                /* We have both a clock divider and an exposure register.
                   We first calculate the clock divider, as that determines
-                  the maximum exposure and then we calculayte the exposure
+                  the maximum exposure and then we calculate the exposure
                   register setting (which goes from 0 - 511).
 
                   Note our 0 - 4095 exposure is mapped to 0 - 511


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/cb8eca8a9990ade5e2a8d0b5cccf09be5b1c9829

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

Reply via email to