diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-10-21 04:09:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 14:26:30 -0200 |
commit | 75f05ba09f50ef934cf6dbe9bf7460a9618d8e88 (patch) | |
tree | 0c4f0f77c25dbf3bf78ada26b5750736c3b80c3e /drivers | |
parent | 0303a90a744662e934877a5d637a43197229274b (diff) | |
download | linux-stable-75f05ba09f50ef934cf6dbe9bf7460a9618d8e88.tar.gz linux-stable-75f05ba09f50ef934cf6dbe9bf7460a9618d8e88.tar.bz2 linux-stable-75f05ba09f50ef934cf6dbe9bf7460a9618d8e88.zip |
[media] gspca - sonixj: Fix a regression with sensor hv7131r
The bug was introduced by commit d5aa3856fd09ad0ea04619d6cba31192dac08e84
removing the probe sequence of hv7131r with bridge sn9c120 and so, letting
the sensor inactive.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index fa942734207a..c0573c405a11 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -1856,8 +1856,7 @@ static void bridge_init(struct gspca_dev *gspca_dev, reg_w1(gspca_dev, 0x01, 0x43); reg_w1(gspca_dev, 0x17, 0x61); reg_w1(gspca_dev, 0x01, 0x42); - if (sd->sensor == SENSOR_HV7131R - && sd->bridge == BRIDGE_SN9C102P) + if (sd->sensor == SENSOR_HV7131R) hv7131r_probe(gspca_dev); break; } |