Skip to contentSkip to conversation

soc-camera: tw9910: check only Product ID

PATCH In review Kuninori Morimoto 1 participant 1 message Sep 30, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 soc-camera: tw9910: check only Product ID

---
 drivers/media/video/tw9910.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
drivers/media/video/tw9910.c +1 -3
index 269ab04..4652483 100644
@@ -885,9 +885,7 @@ static int tw9910_video_probe(struct soc_camera_device *icd,
 	 * check and show Product ID
 	 */
 	val = i2c_smbus_read_byte_data(client, ID);
-
-	if (0x0B != GET_ID(val) ||
-	    0x00 != GET_ReV(val)) {
+	if (0x0B != GET_ID(val)) {
 		dev_err(&client->dev,
 			"Product ID error %x:%x\n", GET_ID(val), GET_ReV(val));
 		return -ENODEV;
Signature · 6 lines
1.6.0.4

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list