summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-27 08:24:29 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-27 08:24:29 -0300
commitc847e3dd95dce3751a45cac3b01a73b6f8f293c9 (patch)
tree9ff1d9463ac353474619b1de0cd0f3ecf8cc8ae6 /linux/drivers/media/video/em28xx/em28xx-cards.c
parent2fd774d86f3c8fe4d2653967fbb2e292fe1ef581 (diff)
downloadmediapointer-dvb-s2-c847e3dd95dce3751a45cac3b01a73b6f8f293c9.tar.gz
mediapointer-dvb-s2-c847e3dd95dce3751a45cac3b01a73b6f8f293c9.tar.bz2
mtv9v011: Add a missing chip version to the driver
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some mt9v011 webcams report 0x8332 chip version, instead of 0x8243. From the revision history at the mt9v011 datasheet, it seems that the chip version has changed from the first release of the chip. Thanks-to hermann pitton <hermann-pitton@arcor.de> for pointing this to me, on his tests with a Silvercrest webcam. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-cards.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 8a22caf01..6e4a44331 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -1838,7 +1838,8 @@ static int em28xx_hint_sensor(struct em28xx *dev)
version = be16_to_cpu(version_be);
switch (version) {
- case 0x8243: /* mt9v011 640x480 1.3 Mpix sensor */
+ case 0x8232: /* mt9v011 640x480 1.3 Mpix sensor */
+ case 0x8243: /* mt9v011 rev B 640x480 1.3 Mpix sensor */
dev->model = EM2820_BOARD_SILVERCREST_WEBCAM;
sensor_name = "mt9v011";
dev->em28xx_sensor = EM28XX_MT9V011;