aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-i2c.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-04-07 16:04:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 09:30:08 -0300
commitbc022694d7da1c848e395f18eaf856abc9dd0b09 (patch)
tree158b5b18c0ab8e4ad24c6122947bb274169a52b7 /drivers/media/video/em28xx/em28xx-i2c.c
parent[media] em28xx: Multi Frontend (MFE) support (diff)
downloadlinux-dev-bc022694d7da1c848e395f18eaf856abc9dd0b09.tar.xz
linux-dev-bc022694d7da1c848e395f18eaf856abc9dd0b09.zip
[media] em28xx: add support for EM28174 chip
EM28174 is very similar as already supported EM2874. I am not sure what are differences, but it could be analog support. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-i2c.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c
index 71474d31e155..4739fc7e6eb3 100644
--- a/drivers/media/video/em28xx/em28xx-i2c.c
+++ b/drivers/media/video/em28xx/em28xx-i2c.c
@@ -332,7 +332,7 @@ static int em28xx_i2c_eeprom(struct em28xx *dev, unsigned char *eedata, int len)
struct em28xx_eeprom *em_eeprom = (void *)eedata;
int i, err, size = len, block;
- if (dev->chip_id == CHIP_ID_EM2874) {
+ if (dev->chip_id == CHIP_ID_EM2874 || dev->chip_id == CHIP_ID_EM28174) {
/* Empia switched to a 16-bit addressable eeprom in newer
devices. While we could certainly write a routine to read
the eeprom, there is nothing of use in there that cannot be