mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
V4L/DVB (11446): gspca - t613: Do sensor reset only for sensor om6802.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
300df7dc89
commit
dd72cb3eda
@ -697,7 +697,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (sd->sensor != SENSOR_OTHER) {
|
||||
if (sd->sensor == SENSOR_OM6802) {
|
||||
reg_w_buf(gspca_dev, n1, sizeof n1);
|
||||
i = 5;
|
||||
while (--i >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user