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-core.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-core.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 321f0d724485..4c24c9c7bb5b 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -982,8 +982,9 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
982 | /* load i2c helpers */ | 982 | /* load i2c helpers */ |
983 | if (card_is_empress(dev)) { | 983 | if (card_is_empress(dev)) { |
984 | struct v4l2_subdev *sd = | 984 | struct v4l2_subdev *sd = |
985 | v4l2_i2c_new_subdev(&dev->i2c_adap, "saa6752hs", | 985 | v4l2_i2c_new_subdev(&dev->i2c_adap, |
986 | "saa6752hs", 0x20); | 986 | "saa6752hs", "saa6752hs", |
987 | saa7134_boards[dev->board].empress_addr); | ||
987 | 988 | ||
988 | if (sd) | 989 | if (sd) |
989 | sd->grp_id = GRP_EMPRESS; | 990 | sd->grp_id = GRP_EMPRESS; |