]> Pileus Git - ~andy/linux/commit
[media] gspca_sonixb: Properly wait between i2c writes
authorHans de Goede <hdegoede@redhat.com>
Fri, 21 Dec 2012 11:08:47 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 15:39:50 +0000 (13:39 -0200)
commit18fa0d36ad5b451d835ca79301265649334214c0
treee17a27e773fd1b942f9d4e9d0b3fed2c76cddddb
parent8547fd18e9009ea0f010c5ec7463d61efa72b555
[media] gspca_sonixb: Properly wait between i2c writes

We must wait for the previous i2c write to complete before starting a new
one. Sofar we were getting away with this, but it seems that some parts
of the usb-subsystem has been sped up making us go to fast :)
This fixes streaming on sn9c103 based cams not working with an
"i2c_w error" error.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/gspca/sonixb.c