aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/sn9c102/sn9c102_hv7131d.c2
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);