]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] atmel-isi: increase timeout to disable/enable isi
authorJosh Wu <josh.wu@atmel.com>
Wed, 17 Jun 2015 10:27:08 +0000 (07:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:34:03 +0000 (17:34 -0300)
If ISI is working on a 1024x768 or higher resolution, it needs longer
time to disable ISI. So this patch will increase timeout to 500ms.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/atmel-isi.c

index ccf30ccbe389233f41d7dd2c616807aa9d8cd3bf..b018fa37f4dff11d7737d426003e233a80fc14eb 100644 (file)
@@ -225,7 +225,7 @@ static int atmel_isi_wait_status(struct atmel_isi *isi, int wait_reset)
        }
 
        timeout = wait_for_completion_timeout(&isi->complete,
-                       msecs_to_jiffies(100));
+                       msecs_to_jiffies(500));
        if (timeout == 0)
                return -ETIMEDOUT;