diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-28 08:27:02 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:44 -0400 |
commit | 195784b8efd53c1034c6b6d5c8d8d4d25b91d505 (patch) | |
tree | 0e00b4af7c517b0fece5e854a5d0403ade511591 /drivers/media/video/saa7134/saa7134-empress.c | |
parent | e7ddcd98a179c441d54fe84d221cea4e5852b235 (diff) |
V4L/DVB (11253): saa7134: fix RTD Embedded Technologies VFG7350 support.
This card has the saa6752hs on 7-bit address 0x21 instead of 0x20. Add
support in the card definition struct to select which address to use and
update the definitions accordingly.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-empress.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-empress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-empress.c b/drivers/media/video/saa7134/saa7134-empress.c index c6cfe0fe7e3d..9db3472667e5 100644 --- a/drivers/media/video/saa7134/saa7134-empress.c +++ b/drivers/media/video/saa7134/saa7134-empress.c | |||
@@ -416,8 +416,7 @@ static int empress_g_chip_ident(struct file *file, void *fh, | |||
416 | if (chip->match.type == V4L2_CHIP_MATCH_I2C_DRIVER && | 416 | if (chip->match.type == V4L2_CHIP_MATCH_I2C_DRIVER && |
417 | !strcmp(chip->match.name, "saa6752hs")) | 417 | !strcmp(chip->match.name, "saa6752hs")) |
418 | return saa_call_empress(dev, core, g_chip_ident, chip); | 418 | return saa_call_empress(dev, core, g_chip_ident, chip); |
419 | if (chip->match.type == V4L2_CHIP_MATCH_I2C_ADDR && | 419 | if (chip->match.type == V4L2_CHIP_MATCH_I2C_ADDR) |
420 | chip->match.addr == 0x20) | ||
421 | return saa_call_empress(dev, core, g_chip_ident, chip); | 420 | return saa_call_empress(dev, core, g_chip_ident, chip); |
422 | return -EINVAL; | 421 | return -EINVAL; |
423 | } | 422 | } |