34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From: Anders Roxell <anders.roxell@linaro.org>
|
|
Date: Fri, 15 Jan 2016 01:09:43 +0100
|
|
Subject: drivers/media: vsp1_video: fix compile error
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.4/patches-4.4.1-rt5.tar.xz
|
|
|
|
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>
|
|
---
|
|
drivers/media/platform/vsp1/vsp1_video.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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
|
|
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;
|