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: 49964 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNJlh-00027I-2k; Mon, 28 May 2018 15:09:05 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033822AbeE1KY0 (ORCPT + 1 other); 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 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