aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorErik Andr?n <erik.andren@gmail.com>2009-01-18 09:13:47 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:34 -0400
commit894e4087f015cef13a4ac52ea465ecd941118bad (patch)
treec6e4596602ce297c0ae174f815e05156e9f626e0 /drivers/media
parent9819267009bfec221159373eafd666db37d20c78 (diff)
V4L/DVB (11537): gspca - m5602-po1030: Clear subsampling flag when setting VGA mode
Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_po1030.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.c b/drivers/media/video/gspca/m5602/m5602_po1030.c
index 5b9113325ecb..840a3ca53200 100644
--- a/drivers/media/video/gspca/m5602/m5602_po1030.c
+++ b/drivers/media/video/gspca/m5602/m5602_po1030.c
@@ -367,6 +367,11 @@ int po1030_start(struct sd *sd)
367 break; 367 break;
368 368
369 case 640: 369 case 640:
370 data = 0;
371 err = m5602_write_sensor(sd, PO1030_CONTROL3, &data, 1);
372 if (err < 0)
373 return err;
374
370 data = ((width + 7) >> 8) & 0xff; 375 data = ((width + 7) >> 8) & 0xff;
371 err = m5602_write_sensor(sd, PO1030_WINDOWWIDTH_H, &data, 1); 376 err = m5602_write_sensor(sd, PO1030_WINDOWWIDTH_H, &data, 1);
372 if (err < 0) 377 if (err < 0)