From: Hans de Goede Date: Sat, 30 Jun 2012 12:03:21 +0000 (-0300) Subject: [media] gspca_konica: Fix init sequence X-Git-Tag: v3.6-rc1~28^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e163609ef77f065dbf3936dcb8f5ffcf6d19b35c;p=pandora-kernel.git [media] gspca_konica: Fix init sequence The konica needs a freaking large time (circa 6.5 seconds) to "boot", and does not want to be bothered while doing so, so sleep for 6 seconds, and then query its status register at 100ms intervals until it becomes ready. This removes the "reg_w err: -32" messages shown in dmesg whenever a konica cam gets initialized, and also fixes the camera not working when an app tries to use it directly after it has been plugged in and after a suspend/resume cycle. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed