]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l: vsp1: Fix race condition when stopping pipeline
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 29 Apr 2015 19:54:39 +0000 (16:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:26:08 +0000 (08:26 -0300)
commit1c991fee30c72ff49bb96558d5f1c14a60230677
treeba676b6b9cae9d99c35379b3e094bef99bd57a23
parent139c92866e34bfa4897e644b36147fc86cc7a7a1
[media] v4l: vsp1: Fix race condition when stopping pipeline

When stopping the pipeline the driver waits for the pipeline state to be
set to VSP1_PIPELINE_STOPPED but fails to lock the pipe irqlock to read
the state variable protected by the lock. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_video.c