aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 08:40:21 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:34 -0500
commitf09fb53075646c35efe0f74d97b7c4bc7ec61e5a (patch)
tree8d0252e7a0549146882232bf007ca3d3e94eae1f /drivers/media/video/em28xx/em28xx-cards.c
parent802971257a3b897d2affd39e540be264bae89c3b (diff)
V4L/DVB (9641): Add chip ID's for em2820 and em2840
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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 28f64e0b0b4b..3d85017ad147 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -1355,6 +1355,12 @@ void em28xx_pre_card_setup(struct em28xx *dev)
1355 if (rc > 0) { 1355 if (rc > 0) {
1356 dev->chip_id = rc; 1356 dev->chip_id = rc;
1357 switch (rc) { 1357 switch (rc) {
1358 case CHIP_ID_EM2820:
1359 em28xx_info("chip ID is em2820\n");
1360 break;
1361 case CHIP_ID_EM2840:
1362 em28xx_info("chip ID is em2840\n");
1363 break;
1358 case CHIP_ID_EM2860: 1364 case CHIP_ID_EM2860:
1359 em28xx_info("chip ID is em2860\n"); 1365 em28xx_info("chip ID is em2860\n");
1360 break; 1366 break;