Commit b1fa26c6 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab

V4L/DVB (9921): em28xx: add chip id for em2874

Add the em2870 to the list of known em28xx chip ids.
Signed-off-by: default avatarDevin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 79392737
...@@ -1409,6 +1409,10 @@ void em28xx_pre_card_setup(struct em28xx *dev) ...@@ -1409,6 +1409,10 @@ void em28xx_pre_card_setup(struct em28xx *dev)
case CHIP_ID_EM2860: case CHIP_ID_EM2860:
em28xx_info("chip ID is em2860\n"); em28xx_info("chip ID is em2860\n");
break; break;
case CHIP_ID_EM2870:
em28xx_info("chip ID is em2870\n");
dev->wait_after_write = 0;
break;
case CHIP_ID_EM2874: case CHIP_ID_EM2874:
em28xx_info("chip ID is em2874\n"); em28xx_info("chip ID is em2874\n");
dev->reg_gpio_num = EM2874_R80_GPIO; dev->reg_gpio_num = EM2874_R80_GPIO;
......
...@@ -151,6 +151,7 @@ enum em28xx_chip_id { ...@@ -151,6 +151,7 @@ enum em28xx_chip_id {
CHIP_ID_EM2840 = 20, CHIP_ID_EM2840 = 20,
CHIP_ID_EM2750 = 33, CHIP_ID_EM2750 = 33,
CHIP_ID_EM2860 = 34, CHIP_ID_EM2860 = 34,
CHIP_ID_EM2870 = 35,
CHIP_ID_EM2883 = 36, CHIP_ID_EM2883 = 36,
CHIP_ID_EM2874 = 65, CHIP_ID_EM2874 = 65,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment