]> git.baikalelectronics.ru Git - kernel.git/commit
[media] marvell-cam: Increase the DMA shutdown timeout
authorJonathan Corbet <corbet@lwn.net>
Fri, 16 Mar 2012 22:14:52 +0000 (19:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:15:51 +0000 (22:15 -0300)
commit707194507b8a9aac7d2c4b0a2a60678ead1f4f3c
tree2465380fce219dd1488008a5802fa4fbfde84605
parent9d38f5dd15c3d722233b58d6efc47e0c1c11fd23
[media] marvell-cam: Increase the DMA shutdown timeout

Experience shows that, on the Armada platform, it can take as much as 120ms
for the DMA engine to actually shut down after it has been told to.  So a
40ms timeout is not adequate; use 150ms instead.  Also make sure we don't
leave the DMA_ACTIVE flag set once things are down.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/marvell-ccic/mcam-core.c