mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 15:50:53 +07: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