From patchwork Mon Jun 20 12:47:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda Delgado X-Patchwork-Id: 9187381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 58F286075F for ; Mon, 20 Jun 2016 13:07:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 466F62780C for ; Mon, 20 Jun 2016 13:07:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B5452793D; Mon, 20 Jun 2016 13:07:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1B392780C for ; Mon, 20 Jun 2016 13:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309AbcFTNHX (ORCPT ); Mon, 20 Jun 2016 09:07:23 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34858 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbcFTNG7 (ORCPT ); Mon, 20 Jun 2016 09:06:59 -0400 Received: by mail-lf0-f68.google.com with SMTP id w130so5413622lfd.2; Mon, 20 Jun 2016 06:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dz2sNSUh4pvD6N+eFxcoOoJ1mIlnBnTPGCzLbblwIgQ=; b=AX9c5KeyNTnhwSXMyiokrm5A3ylQtgThq6gUVpvpv3ATVe92Kxq4gTmtRfxKeAOgvT OwOmVI4Zxsk1sbgLeTCNyVahKBeKKQsbSNk5t3SKDyjSsXFKSNvuRegA8SLjTv1yG+U0 oE9UC9OdsR3kT9srQM5gt6mYcOPZVwiaaFKurrf+v3/aXancycUvnQUoLTp8SzWNHvWo ELSz5LEYA1KyOAg8l0wnvE3BCauwYbzrQWnzxebk5qiqWYDtm6yhNj4j2Lp7weIoZEI3 hsGKWzYaDIMRzwNCWwp5osw2syvkJhFK5AmQJCV5OWQHJgT3TKw1rqtXNqOqzIUCW/03 khLw== 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:in-reply-to :references; bh=dz2sNSUh4pvD6N+eFxcoOoJ1mIlnBnTPGCzLbblwIgQ=; b=YGVeqls0k3rjOFQUgHFIwsNelj8edbdoE0C1/idaa0IFQYbvIz1FbuTxlxqkQ4/oVK imrA3B4VahfmbMCmRcdOZKG64xSVDfmAQVS1tgFSRBmPivfMPGqwXv7V0Q8AykrPjVF7 jsiXrhYdHBYEGtk5vVgkdCs206o9WwRbLCJtlt69tfxs6e0guAsCl+URx5EArauW4Wkr JtdG+NxvzHFFJztlek+LBemK51Gjc54yKQAe6gZW1Ta9r+0y0foSRma/YbAf3JRoSorF ILyoG3n3vFrO/WUYy/O1zknrHo49maQcf8FgJVSERQev2T9Z6RcM1oPi/oyECc4dG9qc aIGA== X-Gm-Message-State: ALyK8tIWv0W9NaedWHHfzzlbwjeLyLoD30dKsywaCZBxfuhVKvRD973s3nlbrYbjM4ybKA== X-Received: by 10.25.86.79 with SMTP id k76mr1588603lfb.135.1466426856417; Mon, 20 Jun 2016 05:47:36 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id o7sm3661031lfg.45.2016.06.20.05.47.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 05:47:35 -0700 (PDT) From: Ricardo Ribalda Delgado To: Pawel Osciak , Marek Szyprowski , Kyungmin Park , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, hans.verkuil@cisco.com, hverkuil@xs4all.nl Cc: Ricardo Ribalda Delgado Subject: [PATCH v3 4/4] vb2: Fix comment Date: Mon, 20 Jun 2016 14:47:25 +0200 Message-Id: <1466426845-25673-4-git-send-email-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1466426845-25673-1-git-send-email-ricardo.ribalda@gmail.com> References: <1466426845-25673-1-git-send-email-ricardo.ribalda@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The comment was referencing the wrong function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index 633fc1ab1d7a..ba6ab8b7311f 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@ -1845,7 +1845,7 @@ static void __vb2_queue_cancel(struct vb2_queue *q) * Make sure to call buf_finish for any queued buffers. Normally * that's done in dqbuf, but that's not going to happen when we * cancel the whole queue. Note: this code belongs here, not in - * __vb2_dqbuf() since in vb2_internal_dqbuf() there is a critical + * __vb2_dqbuf() since in vb2_core_dqbuf() there is a critical * call to __fill_user_buffer() after buf_finish(). That order can't * be changed, so we can't move the buf_finish() to __vb2_dqbuf(). */