aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-07 11:13:31 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-13 19:39:09 -0400
commitd594317bdc716ccd8c8cf711e3827f9b6e0b766b (patch)
tree5681e7d28cd0322f5004e029eaaf4a98dd2a1c2a /drivers/media/video/em28xx/em28xx-cards.c
parent9b4e845c6cbca2bcbfdb87e4d005260604226f45 (diff)
V4L/DVB (12403): em28xx: properly reports some em2710 chips
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 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 6c35d789cd7e..c9e420e8a614 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -1840,11 +1840,14 @@ void em28xx_pre_card_setup(struct em28xx *dev)
1840 dev->chip_id = rc; 1840 dev->chip_id = rc;
1841 1841
1842 switch (dev->chip_id) { 1842 switch (dev->chip_id) {
1843 case CHIP_ID_EM2710:
1844 em28xx_info("chip ID is em2710\n");
1845 break;
1843 case CHIP_ID_EM2750: 1846 case CHIP_ID_EM2750:
1844 em28xx_info("chip ID is em2750\n"); 1847 em28xx_info("chip ID is em2750\n");
1845 break; 1848 break;
1846 case CHIP_ID_EM2820: 1849 case CHIP_ID_EM2820:
1847 em28xx_info("chip ID is em2710 or em2820\n"); 1850 em28xx_info("chip ID is em2820 (or em2710)\n");
1848 break; 1851 break;
1849 case CHIP_ID_EM2840: 1852 case CHIP_ID_EM2840:
1850 em28xx_info("chip ID is em2840\n"); 1853 em28xx_info("chip ID is em2840\n");