V4L/DVB: gspca - vc032x: Add some comments
authorJean-François Moine <moinejf@free.fr>
Tue, 6 Jul 2010 07:44:54 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:42:49 +0000 (16:42 -0300)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/vc032x.c

index 82be16938458165ef24a1260f3c6d57628968b14..de9e4f9e59c16284078dd544815108b02dfd2be1 100644 (file)
@@ -2748,11 +2748,11 @@ static const u8 poxxxx_init_common[][4] = {
        {0xb3, 0x04, 0x15, 0xcc},
        {0xb3, 0x20, 0x00, 0xcc},
        {0xb3, 0x21, 0x00, 0xcc},
-       {0xb3, 0x22, 0x04, 0xcc},
+       {0xb3, 0x22, 0x04, 0xcc},       /* sensor height = 1024 */
        {0xb3, 0x23, 0x00, 0xcc},
        {0xb3, 0x14, 0x00, 0xcc},
        {0xb3, 0x15, 0x00, 0xcc},
-       {0xb3, 0x16, 0x04, 0xcc},
+       {0xb3, 0x16, 0x04, 0xcc},       /* sensor width = 1280 */
        {0xb3, 0x17, 0xff, 0xcc},
        {0xb3, 0x2c, 0x03, 0xcc},
        {0xb3, 0x2d, 0x56, 0xcc},
@@ -2919,7 +2919,7 @@ static const u8 poxxxx_initVGA[][4] = {
        {0x00, 0x20, 0x11, 0xaa},
        {0x00, 0x33, 0x38, 0xaa},
        {0x00, 0xbb, 0x0d, 0xaa},
-       {0xb3, 0x22, 0x01, 0xcc},
+       {0xb3, 0x22, 0x01, 0xcc},       /* change to 640x480 */
        {0xb3, 0x23, 0xe0, 0xcc},
        {0xb3, 0x16, 0x02, 0xcc},
        {0xb3, 0x17, 0x7f, 0xcc},
@@ -2935,7 +2935,7 @@ static const u8 poxxxx_initQVGA[][4] = {
        {0x00, 0x20, 0x33, 0xaa},
        {0x00, 0x33, 0x38, 0xaa},
        {0x00, 0xbb, 0x0d, 0xaa},
-       {0xb3, 0x22, 0x00, 0xcc},
+       {0xb3, 0x22, 0x00, 0xcc},       /* change to 320x240 */
        {0xb3, 0x23, 0xf0, 0xcc},
        {0xb3, 0x16, 0x01, 0xcc},
        {0xb3, 0x17, 0x3f, 0xcc},