[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 23:26:39 +0000 (21:26 -0200)
commit2756442e48ab5012b135b9304133d4bc0ebffb17
tree6d84fc9e162b771f4c54e284212e79e65182ab69
parent98fd485795db064d0885150e2c0c7f296d8fe06e
[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