diff options
author | Anders Roxell | 2016-01-15 01:09:43 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-01-25 12:13:13 +0100 |
commit | 1b4ca5aa9e0867f5cec40f9508dac7414f3b6998 (patch) | |
tree | 07ed177484f1701597ae8b6a67ff6bd228146e02 | |
parent | [media] atmel-isi: fix debug message which only show the first format (diff) | |
download | kernel-qcow2-linux-1b4ca5aa9e0867f5cec40f9508dac7414f3b6998.tar.gz kernel-qcow2-linux-1b4ca5aa9e0867f5cec40f9508dac7414f3b6998.tar.xz kernel-qcow2-linux-1b4ca5aa9e0867f5cec40f9508dac7414f3b6998.zip |
[media] drivers/media: vsp1_video: fix compile error
This was found with the -RT patch enabled, but the fix should apply to
non-RT also.
Compilation error without this fix:
../drivers/media/platform/vsp1/vsp1_video.c: In function
'vsp1_pipeline_stopped':
../drivers/media/platform/vsp1/vsp1_video.c:524:2: error: expected
expression before 'do'
spin_unlock_irqrestore(&pipe->irqlock, flags);
^
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index 637d0d6f79fb..b4dca57d1ae3 100644 --- a/drivers/media/platform/vsp1/vsp1_video.c +++ b/drivers/media/platform/vsp1/vsp1_video.c @@ -515,7 +515,7 @@ static bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe) bool stopped; spin_lock_irqsave(&pipe->irqlock, flags); - stopped = pipe->state == VSP1_PIPELINE_STOPPED, + stopped = pipe->state == VSP1_PIPELINE_STOPPED; spin_unlock_irqrestore(&pipe->irqlock, flags); return stopped; |