[media] media: soc_camera: rcar_vin: Fix wait_for_completion
authorKoji Matsuoka <koji.matsuoka.xm@renesas.com>
Sun, 29 Mar 2015 13:04:56 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 27 Apr 2015 18:41:22 +0000 (15:41 -0300)
commit5a9b06a27db6b006605421658418fb8943a6e217
tree3db9f6a36e293581a32707925e6a82cf0849bfc5
parent2a700d8edffdbfb8200332d96c3147e042b337f1
[media] media: soc_camera: rcar_vin: Fix wait_for_completion

When stopping abnormally, a driver can't return from wait_for_completion.
This patch resolved this problem by changing wait_for_completion_timeout
from wait_for_completion.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.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/rcar_vin.c