summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-01-15 01:09:43 +0100
committerSteven Rostedt <rostedt@goodmis.org>2016-08-15 17:09:05 -0400
commit9391e672a6736f184cafc9134b4426575e36641f (patch)
treeaa9892312919ed27772fc3fe309773db1a079de4 /drivers
parent39b8fc8ada173ff026cb23b994f318857a13d958 (diff)
downloadlinux-rt-9391e672a6736f184cafc9134b4426575e36641f.tar.gz
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> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.c2
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 5ce88e1f5d71..b4f8cd74ecb8 100644
--- a/drivers/media/platform/vsp1/vsp1_video.c
+++ b/drivers/media/platform/vsp1/vsp1_video.c
@@ -520,7 +520,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;