diff options
-rw-r--r-- | drivers/media/video/tw9910.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c index 269ab044072a..7bf90a29daee 100644 --- a/drivers/media/video/tw9910.c +++ b/drivers/media/video/tw9910.c | |||
@@ -883,11 +883,12 @@ static int tw9910_video_probe(struct soc_camera_device *icd, | |||
883 | 883 | ||
884 | /* | 884 | /* |
885 | * check and show Product ID | 885 | * check and show Product ID |
886 | * So far only revisions 0 and 1 have been seen | ||
886 | */ | 887 | */ |
887 | val = i2c_smbus_read_byte_data(client, ID); | 888 | val = i2c_smbus_read_byte_data(client, ID); |
888 | 889 | ||
889 | if (0x0B != GET_ID(val) || | 890 | if (0x0B != GET_ID(val) || |
890 | 0x00 != GET_ReV(val)) { | 891 | 0x01 < GET_ReV(val)) { |
891 | dev_err(&client->dev, | 892 | dev_err(&client->dev, |
892 | "Product ID error %x:%x\n", GET_ID(val), GET_ReV(val)); | 893 | "Product ID error %x:%x\n", GET_ID(val), GET_ReV(val)); |
893 | return -ENODEV; | 894 | return -ENODEV; |