From nobody Thu Oct 2 02:04:53 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3614922069E; Wed, 24 Sep 2025 13:36:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758720987; cv=none; b=Vo4QoZhPX3Pra5JgNkNUAekR9ywOT7JCtyZH0rJ0Tmx3ahwmooqwYI7vKr9u0kTperhoH4jF0Vdy2ORfDYDtFTWCC+rYP4p7AIyuairIzoXqYH1W4QkhVrLzcyqywvjaJe+UEbJthOIndCxLZeyGI9GhmZDqC98duhkGAuK1Y2k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758720987; c=relaxed/simple; bh=jve90eHMG69ekIGAvr0Md+ax6KbA5syj0SlM96b60/A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PCEtozymqAFRHF2qMft4ZHSrx0puKaapvupBHcRrvzUu9xuqKhzD2Ak0NrlTOcK3nSlL1c7QfwJTvfi6WmLvySRmdnBPgTI784oZjZorwqH8rEZdXuTp6DliNluBZjJJHzU7wmSkuBGoxtfVgQUlcnSikFliYqbb96EYQtLN0fY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mi+30k1D; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mi+30k1D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B3F0C4CEF7; Wed, 24 Sep 2025 13:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758720987; bh=jve90eHMG69ekIGAvr0Md+ax6KbA5syj0SlM96b60/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mi+30k1DkGgqBZiZ2g9YAK8lQEYfznZP5K4oDTe9bcqcWdhPf/txdVEcddMKjrS/K xb6MCF9RClKfZ90EKAGsdjR/BHFj3jdHRlO5UL41+CmHl61yGSCzfL0rzxtLEzGvnM RNVjj2T+t12wJszTio2LOTkp2t+aTvSO2ay8guk3oryaS8X38Etmov1RCQsVp9AUr8 buJHdb3DVbZ1+EyjoR5bQ/t81eUJy7Z3+xxtWSKcNQ1gTmri6Lgbtz76IPb8/oasUr Zw1dmf+TMzfFxmP8bt025woGBs/vhhvKK9MebM+OybDu3PBpGE4eldnGYyXccW5/YX PE/Wr6THzyM/w== Received: from johan by xi.lan with local (Exim 4.98.2) (envelope-from ) id 1v1PfR-000000007Vq-25q0; Wed, 24 Sep 2025 15:36:21 +0200 From: Johan Hovold To: Minghsiu Tsai , Houlong Wei , Andrew-CT Chen , Tiffany Lin , Yunfei Dong Cc: Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/3] media: mediatek: amend vpu_get_plat_device() documentation Date: Wed, 24 Sep 2025 15:35:52 +0200 Message-ID: <20250924133552.28841-4-johan@kernel.org> X-Mailer: git-send-email 2.49.1 In-Reply-To: <20250924133552.28841-1-johan@kernel.org> References: <20250924133552.28841-1-johan@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a comment to the vpu_get_plat_device() documentation to make it clear that the VPU platform device is returned with an incremented reference count (which needs to be dropped after use). Signed-off-by: Johan Hovold --- drivers/media/platform/mediatek/vpu/mtk_vpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/mediatek/vpu/mtk_vpu.h b/drivers/media/= platform/mediatek/vpu/mtk_vpu.h index da05f3e74081..5808311d2b15 100644 --- a/drivers/media/platform/mediatek/vpu/mtk_vpu.h +++ b/drivers/media/platform/mediatek/vpu/mtk_vpu.h @@ -120,7 +120,7 @@ int vpu_ipi_send(struct platform_device *pdev, * device for using VPU API. * * Return: Return NULL if it is failed. - * otherwise it is VPU's platform device + * otherwise it is VPU's platform device with incremented reference count **/ struct platform_device *vpu_get_plat_device(struct platform_device *pdev); =20 --=20 2.49.1