summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-07 12:13:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-07 12:13:31 -0300
commit3304f06c0482f2180d240ec11da525578d33868a (patch)
tree7e850b7bd7e9e7a42e757eac50cf4b40f66fcdbd /linux/drivers/media/video/em28xx/em28xx-cards.c
parentcc7fbc37dcf48dbb639f032d01717600ccc540ea (diff)
downloadmediapointer-dvb-s2-3304f06c0482f2180d240ec11da525578d33868a.tar.gz
mediapointer-dvb-s2-3304f06c0482f2180d240ec11da525578d33868a.tar.bz2
em28xx: properly reports some em2710 chips
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by hermann pitton <hermann-pitton@arcor.de>, some devices has a different chip id for em2710 (likely the older ones): em28xx: New device @ 480 Mbps (eb1a:2710, interface 0, class 0) em28xx #0: Identified as EM2710/EM2750/EM2751 webcam grabber (card=22) em28xx #0: em28xx chip ID = 17 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 6e68d534e..9dddd53c7 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -1914,11 +1914,14 @@ void em28xx_pre_card_setup(struct em28xx *dev)
dev->chip_id = rc;
switch (dev->chip_id) {
+ case CHIP_ID_EM2710:
+ em28xx_info("chip ID is em2710\n");
+ break;
case CHIP_ID_EM2750:
em28xx_info("chip ID is em2750\n");
break;
case CHIP_ID_EM2820:
- em28xx_info("chip ID is em2710 or em2820\n");
+ em28xx_info("chip ID is em2820 (or em2710)\n");
break;
case CHIP_ID_EM2840:
em28xx_info("chip ID is em2840\n");