]> git.baikalelectronics.ru Git - kernel.git/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 23:26:39 +0000 (21:26 -0200)
commitcaca236d79973f913f145fd0b577bd5ea5dd2edd
tree6d84fc9e162b771f4c54e284212e79e65182ab69
parent2f20d068d11138adb757f63df7d91852f334a200
[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