From patchwork Mon May 28 10:24:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10433225 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 A9011602CB for ; Mon, 28 May 2018 15:09:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99AB928ABB for ; Mon, 28 May 2018 15:09:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D8E428AC4; Mon, 28 May 2018 15:09:04 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 528B728ABB for ; Mon, 28 May 2018 15:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033822AbeE1KY0 (ORCPT ); Mon, 28 May 2018 06:24:26 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:38114 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033596AbeE1KYZ (ORCPT ); Mon, 28 May 2018 06:24:25 -0400 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4851D5D; Mon, 28 May 2018 12:24:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1527503063; bh=p2LBLgi8n2d2CIn0th0wZA1ul5eIQnOdhiUktoigDFU=; h=From:To:Cc:Subject:Date:From; b=OBNSWplARY0Lf7yI8TyXpSDw6xmSjHpBP35klk+vrT5J494/5+PA2o4oXV/cxNoo3 yG7ugWBgc7yVoPDT9l70lBLMOapKeHdisj7HOEQCMRnguYoPxSalxPAw/Xfucb6IlR 7L61Q4anxcy5gwnbb2JGurrnsw79yUql8CUe+m9E= From: Kieran Bingham To: mchehab@kernel.org, linux-media@vger.kernel.org, Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org, Kieran Bingham Subject: [PATCH] media: vsp1: Document vsp1_dl_body refcnt Date: Mon, 28 May 2018 11:24:20 +0100 Message-Id: <20180528102420.19150-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.17.0 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 In commit 2d9445db0ee9 ("media: vsp1: Use reference counting for bodies"), a new field was introduced to the vsp1_dl_body structure to account for usage tracking of the body. Document the newly added field in the kerneldoc. Signed-off-by: Kieran Bingham Reviewed-by: Simon Horman Reviewed-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/vsp1/vsp1_dl.c b/drivers/media/platform/vsp1/vsp1_dl.c index d9b9cdd8fbe2..10a24bde2299 100644 --- a/drivers/media/platform/vsp1/vsp1_dl.c +++ b/drivers/media/platform/vsp1/vsp1_dl.c @@ -43,6 +43,7 @@ struct vsp1_dl_entry { * struct vsp1_dl_body - Display list body * @list: entry in the display list list of bodies * @free: entry in the pool free body list + * @refcnt: reference tracking for the body * @pool: pool to which this body belongs * @vsp1: the VSP1 device * @entries: array of entries