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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue