diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2009-01-18 15:13:47 +0100 |
---|---|---|
committer | Erik Andr?n <erik.andren@gmail.com> | 2009-01-18 15:13:47 +0100 |
commit | 6551d52f93852d6c9d0d6f369fc2778b4ddc594b (patch) | |
tree | bd2761af4d543bbf7d46a536c04513ec918998e5 /linux/drivers/media | |
parent | c4d8c702fced188accdc9581c1eb3f1d11e384be (diff) | |
download | mediapointer-dvb-s2-6551d52f93852d6c9d0d6f369fc2778b4ddc594b.tar.gz mediapointer-dvb-s2-6551d52f93852d6c9d0d6f369fc2778b4ddc594b.tar.bz2 |
gspca - m5602-po1030: Clear subsampling flag when setting VGA mode
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_po1030.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_po1030.c b/linux/drivers/media/video/gspca/m5602/m5602_po1030.c index 5b9113325..840a3ca53 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_po1030.c +++ b/linux/drivers/media/video/gspca/m5602/m5602_po1030.c @@ -367,6 +367,11 @@ int po1030_start(struct sd *sd) break; case 640: + data = 0; + err = m5602_write_sensor(sd, PO1030_CONTROL3, &data, 1); + if (err < 0) + return err; + data = ((width + 7) >> 8) & 0xff; err = m5602_write_sensor(sd, PO1030_WINDOWWIDTH_H, &data, 1); if (err < 0) |