From patchwork Fri Jan 15 00:09:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59799 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp211119lbb; Thu, 14 Jan 2016 16:15:37 -0800 (PST) X-Received: by 10.67.6.1 with SMTP id cq1mr10429037pad.78.1452816937124; Thu, 14 Jan 2016 16:15:37 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rq5si12344468pab.160.2016.01.14.16.15.36; Thu, 14 Jan 2016 16:15:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755527AbcAOAPg (ORCPT + 4 others); Thu, 14 Jan 2016 19:15:36 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:33107 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755231AbcAOAPf (ORCPT ); Thu, 14 Jan 2016 19:15:35 -0500 Received: by mail-lf0-f46.google.com with SMTP id m198so125931526lfm.0 for ; Thu, 14 Jan 2016 16:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Xj1x6vBVFzempKin1kx71ct2HvdT4rSKsS1tMIF8tns=; b=c7STHxnTQy5VlRWvsmJGgD9UPiajdTWzyB3vKflH+rtS0ZhomONs7XDMXOi2rzMzTH /ysuejOU1nBVG9T/mkwwDL+XSE8RCTFzBFolGxnFPBNokU+kxMyKypGgkUaOlMIKqwd+ EYJA6I8LC5niA5H0f62PkPlZIPYolAyRyK9tw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Xj1x6vBVFzempKin1kx71ct2HvdT4rSKsS1tMIF8tns=; b=YdB0BW2VL7Vj8JdGoV+PDix3IbUhqGh8iwQtnCK5MmAXs68ZJr8rJ8TlYKP2+yqEaa sdXiebFNSPPOUFLtX3BXyKE43eX1pNVr226Fnn1aMG55TrFOV6bhzi1vwMf5NJYskQGt 2as0xlk9zZB2tAr1oUlyDY547mr/Oflfbq3CKbVb08A0jrI+Y8Kil2skYKDJgJT50LK4 fSqkwLVSDvb40O8JmngpVmR+01/U3wVqAFYZ9R07iI4h/X/ch3h44v6qMEEl0KWfWzug B3JADKNZxWes4Zp5VmkNWX1BxjphylnxW81yRBFkKczAI1BQHfmt2PPbVrITjfOkcdTW eapQ== X-Gm-Message-State: ALoCoQlygUsKJBV+VPApwCbZsGZFJK3vcIcSpborK19B4+Qr6OM44T5s9NCIh6oWQn9Nh/dOwbjOzSt/iDA1RfaPxSKFKgTlfw== X-Received: by 10.25.137.136 with SMTP id l130mr1942428lfd.158.1452816933407; Thu, 14 Jan 2016 16:15:33 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id h187sm1072841lfg.18.2016.01.14.16.15.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2016 16:15:32 -0800 (PST) From: Anders Roxell To: mchehab@osg.samsung.com, laurent.pinchart@ideasonboard.com Cc: linux-media@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, Anders Roxell Subject: [PATCH] drivers/media: vsp1_video: fix compile error Date: Fri, 15 Jan 2016 01:09:43 +0100 Message-Id: <1452816583-11036-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org 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 --- drivers/media/platform/vsp1/vsp1_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index 637d0d6..b4dca57 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;