diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-03-11 04:12:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:50:12 -0400 |
commit | f0dbf82bf1ff97c24af228328fb21c93fcfcb983 (patch) | |
tree | 8b1952d9419be5afb16a2f6341c00cbe97e0fe64 | |
parent | 436c2c533a2a2f98d95347f4d5b4022becb046f6 (diff) |
V4L/DVB: sn9c102: Make hv7131d sensor code also recognize the HV7131E
The hv7131d sensor code also works for the hv7131e, this patch changes
it to also recognize the hv7131e sensor id.
Tested-by: Frank Danapfel <fdanapfe@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102_hv7131d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102_hv7131d.c b/drivers/media/video/sn9c102/sn9c102_hv7131d.c index db2434948939..2dce5c908c8e 100644 --- a/drivers/media/video/sn9c102/sn9c102_hv7131d.c +++ b/drivers/media/video/sn9c102/sn9c102_hv7131d.c | |||
@@ -255,7 +255,7 @@ int sn9c102_probe_hv7131d(struct sn9c102_device* cam) | |||
255 | if (err || r0 < 0 || r1 < 0) | 255 | if (err || r0 < 0 || r1 < 0) |
256 | return -EIO; | 256 | return -EIO; |
257 | 257 | ||
258 | if (r0 != 0x00 || r1 != 0x04) | 258 | if ((r0 != 0x00 && r0 != 0x01) || r1 != 0x04) |
259 | return -ENODEV; | 259 | return -ENODEV; |
260 | 260 | ||
261 | sn9c102_attach_sensor(cam, &hv7131d); | 261 | sn9c102_attach_sensor(cam, &hv7131d); |