OSDN Git Service

[media] v4l: vsp1: Ensure pipeline locking in resume path
authorKieran Bingham <kieran+renesas@bingham.xyz>
Fri, 2 Sep 2016 10:48:27 +0000 (07:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 17:46:48 +0000 (14:46 -0300)
commit7a9e7bd32ba43a050e868ba44c4a0665079a8264
treefd0198ca605981b174e181f0ec86d848c32dc1d2
parent34e77ed84b274d20415067306b855bd87f761f5e
[media] v4l: vsp1: Ensure pipeline locking in resume path

The vsp1_pipeline_ready() and vsp1_pipeline_run() functions must be
called with the pipeline lock held, fix the resume code path.

Signed-off-by: Kieran Bingham <kieran+renesas@bingham.xyz>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_pipe.c