1 From 9d50f4f0c119148b17a3546f6420ea744a7b59b8 Mon Sep 17 00:00:00 2001
2 From: Anders Roxell <anders.roxell@linaro.org>
3 Date: Fri, 15 Jan 2016 01:09:43 +0100
4 Subject: [PATCH 273/366] drivers/media: vsp1_video: fix compile error
6 This was found with the -RT patch enabled, but the fix should apply to
9 Compilation error without this fix:
10 ../drivers/media/platform/vsp1/vsp1_video.c: In function
11 'vsp1_pipeline_stopped':
12 ../drivers/media/platform/vsp1/vsp1_video.c:524:2: error: expected
13 expression before 'do'
14 spin_unlock_irqrestore(&pipe->irqlock, flags);
17 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
18 Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
20 drivers/media/platform/vsp1/vsp1_video.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
23 diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c
24 index 5ce88e1..b4f8cd7 100644
25 --- a/drivers/media/platform/vsp1/vsp1_video.c
26 +++ b/drivers/media/platform/vsp1/vsp1_video.c
27 @@ -520,7 +520,7 @@ static bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe)
30 spin_lock_irqsave(&pipe->irqlock, flags);
31 - stopped = pipe->state == VSP1_PIPELINE_STOPPED,
32 + stopped = pipe->state == VSP1_PIPELINE_STOPPED;
33 spin_unlock_irqrestore(&pipe->irqlock, flags);