[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251028100454.4086-1-johan@kernel.org>
Date: Tue, 28 Oct 2025 11:04:52 +0100
From: Johan Hovold <johan@...nel.org>
To: Minghsiu Tsai <minghsiu.tsai@...iatek.com>,
Houlong Wei <houlong.wei@...iatek.com>,
Andrew-CT Chen <andrew-ct.chen@...iatek.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Tiffany Lin <tiffany.lin@...iatek.com>,
Yunfei Dong <yunfei.dong@...iatek.com>,
Nicolas Dufresne <nicolas@...fresne.ca>,
linux-media@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Johan Hovold <johan@...nel.org>
Subject: [PATCH v2 0/2] media: mediatek: fix VPU device leaks on probe
This series fixes VPU device leaks during probe of the mdp driver.
Included is also a minor documentation update to make it clear that the
VPU lookup helper returns the device with an incremented refcount.
Johan
Changes in v2
- drop incorrect vcodec patch since that reference leak has already
been fixed by commit bf1d556ad4e0 ("media: mtk-vcodec: abstract
firmware interface") which added the codec release callback
Johan Hovold (2):
media: mediatek: mdp: fix device leak on probe
media: mediatek: amend vpu_get_plat_device() documentation
drivers/media/platform/mediatek/mdp/mtk_mdp_core.c | 7 +++++--
drivers/media/platform/mediatek/vpu/mtk_vpu.h | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
--
2.51.0
Powered by blists - more mailing lists