From patchwork Mon Jun 20 12:30:08 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: 9187307 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 7B8CA607D1 for ; Mon, 20 Jun 2016 12:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65B3727813 for ; Mon, 20 Jun 2016 12:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A7282787D; Mon, 20 Jun 2016 12:32:54 +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 F36C927813 for ; Mon, 20 Jun 2016 12:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbcFTMcv (ORCPT ); Mon, 20 Jun 2016 08:32:51 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34230 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752453AbcFTMcr (ORCPT ); Mon, 20 Jun 2016 08:32:47 -0400 Received: by mail-lf0-f68.google.com with SMTP id l184so5312772lfl.1; Mon, 20 Jun 2016 05:30:20 -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=rbqM9drsw7Nl0IyxuRxA5wCpHgcFs6hrIooVGAW7HNgmB42rybRrRe/hVzhttlp4bj S8IB9UUzHhHF9mUg8qbQucIH0YYCiQcO1Z+XxCKZywNUzZo6GV355pTE7TrtROvjm5A9 UAe4QUG6Wk53cni9KqP5Cjyq8PGQhiVrNwPgLx6wlD7qMqAlHWKzkNcMa/iQzq2PSCW/ xHy4XABRfy2zCe1YbZIIEQDlW01/7gKC4eGsC7Ft+f+4Uv4IogKDre3RZIK+20wI3XjW cfmjlOS33oZrLhZWfQ9KslAlwMewH9F3vxcSIKu6DbbQ5pj+J/6tGr+y/ToEYc86/eeb VM7Q== 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=NZEa1CtSPgkxadq4o7QfwHHchP2X+e6r1dxEPYagSiZ2OvwDGIsLpIt6/RQ8id+Mc9 s2PGEYtrNMAPDsXs8lpeb2tbiwPdN63ORq8teGGOxnkSWu3ipvg06vW5FMh3LTv5H2+m KprQArS7Fho4GF7Epsk+VKsAi4/nnAMZF0uBa2XN7QvhQOey2QosONnzlmsLTnZoCiRo NFytNT9lk9WuR6qgkkzo3nNVDuQUSQhU5w6IQHBsN6lDvAFNsmQw15d7rsbXkMzMMeEJ SVdgCqbFaXWZFJeaNSbR8PCG+O6lDTB8OQAXqcPDqcM4N+RZv/epmst0PzKsmOQWn9DT ID0Q== X-Gm-Message-State: ALyK8tJ8sL40OfKvBp2NnimIIrMSRynF5DdHMZV9bx9neX/Kg/O7FVvlgP+2YH/6ogs3og== X-Received: by 10.46.0.22 with SMTP id 22mr3982746lja.59.1466425814814; Mon, 20 Jun 2016 05:30:14 -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 u193sm4921183lfd.36.2016.06.20.05.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 05:30:14 -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 v2 3/4] vb2: Fix comment Date: Mon, 20 Jun 2016 14:30:08 +0200 Message-Id: <1466425809-23469-3-git-send-email-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1466425809-23469-1-git-send-email-ricardo.ribalda@gmail.com> References: <1466425809-23469-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(). */