From patchwork Sun Apr 3 23:51:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Osciak X-Patchwork-Id: 684461 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p33NpnTV022216 for ; Sun, 3 Apr 2011 23:51:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014Ab1DCXvh (ORCPT ); Sun, 3 Apr 2011 19:51:37 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:37753 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081Ab1DCXva (ORCPT ); Sun, 3 Apr 2011 19:51:30 -0400 Received: by mail-iw0-f174.google.com with SMTP id 34so5256601iwn.19 for ; Sun, 03 Apr 2011 16:51:29 -0700 (PDT) Received: by 10.43.70.20 with SMTP id ye20mr3897895icb.156.1301874689839; Sun, 03 Apr 2011 16:51:29 -0700 (PDT) Received: from localhost.localdomain (c-24-4-33-58.hsd1.ca.comcast.net [24.4.33.58]) by mx.google.com with ESMTPS id 19sm3318091ibx.52.2011.04.03.16.51.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2011 16:51:29 -0700 (PDT) From: Pawel Osciak To: linux-media@vger.kernel.org Cc: m.szyprowski@samsung.com, s.nawrocki@samsung.com, g.liakhovetski@gmx.de, Pawel Osciak Subject: [PATCH 5/5] [media] mx3_camera: remove stop_streaming() callback return Date: Sun, 3 Apr 2011 16:51:10 -0700 Message-Id: <1301874670-14833-6-git-send-email-pawel@osciak.com> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1301874670-14833-1-git-send-email-pawel@osciak.com> References: <1301874670-14833-1-git-send-email-pawel@osciak.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 03 Apr 2011 23:51:56 +0000 (UTC) The stop_streaming() callback does not return a value anymore. Signed-off-by: Pawel Osciak --- drivers/media/video/mx3_camera.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/mx3_camera.c b/drivers/media/video/mx3_camera.c index 8630c0c..1703b93 100644 --- a/drivers/media/video/mx3_camera.c +++ b/drivers/media/video/mx3_camera.c @@ -400,7 +400,7 @@ static int mx3_videobuf_init(struct vb2_buffer *vb) return 0; } -static int mx3_stop_streaming(struct vb2_queue *q) +static void mx3_stop_streaming(struct vb2_queue *q) { struct soc_camera_device *icd = soc_camera_from_vb2q(q); struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); @@ -425,8 +425,6 @@ static int mx3_stop_streaming(struct vb2_queue *q) } spin_unlock_irqrestore(&mx3_cam->lock, flags); - - return 0; } static struct vb2_ops mx3_videobuf_ops = {