aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-06-04 06:30:21 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 13:44:02 -0400
commit983882411b1121557c822887a27aeaa874f51577 (patch)
tree9f9e35ab51966f066f0bceb261949886bf8b2f21 /drivers
parent79960d3904d1bcc6698ce86ea12ee0e003d4c37d (diff)
V4L/DVB: gspca - t613: Remove the RGB gains setting from sensor_polling
This patch also renames the last polling message from the closer one of the ms-windows driver. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/t613.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 310bd2439848..0cc79e16963f 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -987,9 +987,7 @@ static void poll_sensor(struct gspca_dev *gspca_dev)
987 static const u8 poll2[] = 987 static const u8 poll2[] =
988 {0x67, 0x02, 0x68, 0x71, 0x69, 0x72, 0x72, 0xa9, 988 {0x67, 0x02, 0x68, 0x71, 0x69, 0x72, 0x72, 0xa9,
989 0x73, 0x02, 0x73, 0x02, 0x60, 0x14}; 989 0x73, 0x02, 0x73, 0x02, 0x60, 0x14};
990 static const u8 poll3[] = 990 static const u8 noise03[] = /* (some differences / ms-drv) */
991 {0x87, 0x3f, 0x88, 0x20, 0x89, 0x2d};
992 static const u8 poll4[] =
993 {0xa6, 0x0a, 0xea, 0xcf, 0xbe, 0x26, 0xb1, 0x5f, 991 {0xa6, 0x0a, 0xea, 0xcf, 0xbe, 0x26, 0xb1, 0x5f,
994 0xa1, 0xb1, 0xda, 0x6b, 0xdb, 0x98, 0xdf, 0x0c, 992 0xa1, 0xb1, 0xda, 0x6b, 0xdb, 0x98, 0xdf, 0x0c,
995 0xc2, 0x80, 0xc3, 0x10}; 993 0xc2, 0x80, 0xc3, 0x10};
@@ -997,8 +995,7 @@ static void poll_sensor(struct gspca_dev *gspca_dev)
997 PDEBUG(D_STREAM, "[Sensor requires polling]"); 995 PDEBUG(D_STREAM, "[Sensor requires polling]");
998 reg_w_buf(gspca_dev, poll1, sizeof poll1); 996 reg_w_buf(gspca_dev, poll1, sizeof poll1);
999 reg_w_buf(gspca_dev, poll2, sizeof poll2); 997 reg_w_buf(gspca_dev, poll2, sizeof poll2);
1000 reg_w_buf(gspca_dev, poll3, sizeof poll3); 998 reg_w_buf(gspca_dev, noise03, sizeof noise03);
1001 reg_w_buf(gspca_dev, poll4, sizeof poll4);
1002} 999}
1003 1000
1004static int sd_start(struct gspca_dev *gspca_dev) 1001static int sd_start(struct gspca_dev *gspca_dev)