From patchwork Fri May 25 06:29:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8958 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7D44D23F07 for ; Fri, 25 May 2012 06:40:15 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 45436A185D8 for ; Fri, 25 May 2012 06:40:15 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so141987yen.11 for ; Thu, 24 May 2012 23:40:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=X4D88kx1IORLzyytO4Db4M6c0R/TpJd6Rpx6i2yyZ4w=; b=f5p1XCKb4zYDfQSfFVG66pR2bau9e/pIdeFF1ci9EU4WKCJx8QGIa6o/HxK7k/iCqz fmWy0/PHNFYZY8YDB1u85srocRjd20AsBsZuR/TAwcLGyF8BuH8HpOhss0fVqRzsBrkW kBjlQ0fwE5Kon20pF6JBX36kD5LazUWyiL0a2oqSSXe8rbA5c3XBhEOPbdblYU/qSMC6 g9CKDmoa+qZcIJVnTIg0DacpOs5Z7+QKsi+VAzSf51kHtzPgBC/mE0O2i7D5BzDy5rSm N4og+wdCiWvCE0uhlV4tjqYLipoWht1r/lfPXe3XD+eUft3nd9KA3OIScH+cuXGObUTM eWYg== Received: by 10.50.195.234 with SMTP id ih10mr1718747igc.0.1337928014749; Thu, 24 May 2012 23:40:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp95959ibd; Thu, 24 May 2012 23:40:14 -0700 (PDT) Received: by 10.68.190.131 with SMTP id gq3mr7591407pbc.17.1337928014001; Thu, 24 May 2012 23:40:14 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id hx7si1017434pbc.14.2012.05.24.23.40.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 May 2012 23:40:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f50.google.com with SMTP id rr4so1560598pbb.37 for ; Thu, 24 May 2012 23:40:13 -0700 (PDT) Received: by 10.68.220.97 with SMTP id pv1mr29019268pbc.158.1337928013775; Thu, 24 May 2012 23:40:13 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id mt9sm8066997pbb.14.2012.05.24.23.40.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 May 2012 23:40:13 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, mchehab@infradead.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] [media] s5p-fimc: Fix compiler warning in fimc-capture.c file Date: Fri, 25 May 2012 11:59:39 +0530 Message-Id: <1337927380-4435-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1337927380-4435-1-git-send-email-sachin.kamat@linaro.org> References: <1337927380-4435-1-git-send-email-sachin.kamat@linaro.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnp+E5eVnW+fjrQGpn1Krs+N0FVTUUDCr+vK4FA2JBU9rBhjoyLJEv37CZ3m4sDaDvE0cjK drivers/media/video/s5p-fimc/fimc-capture.c: In function ‘fimc_cap_streamon’: drivers/media/video/s5p-fimc/fimc-capture.c:1053:29: warning: ignoring return value of ‘media_entity_pipeline_start’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-fimc/fimc-capture.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c index 3545745..587d087 100644 --- a/drivers/media/video/s5p-fimc/fimc-capture.c +++ b/drivers/media/video/s5p-fimc/fimc-capture.c @@ -1050,8 +1050,10 @@ static int fimc_cap_streamon(struct file *file, void *priv, if (fimc_capture_active(fimc)) return -EBUSY; - media_entity_pipeline_start(&p->subdevs[IDX_SENSOR]->entity, + ret = media_entity_pipeline_start(&p->subdevs[IDX_SENSOR]->entity, p->m_pipeline); + if (ret) + return ret; if (fimc->vid_cap.user_subdev_api) { ret = fimc_pipeline_validate(fimc);