[PATCH 0/3] media: mediatek: fix VPU device leaks on probe

Chen-Yu Tsai wenst at chromium.org
Wed Sep 24 21:54:28 PDT 2025


On Wed, Sep 24, 2025 at 9:36 PM Johan Hovold <johan at kernel.org> wrote:
>
> This series fixes VPU device leaks during probe of the mdp and two codec
> drivers.
>
> Included is also a minor documentation update to make it clear that the
> VPU lookup helper returns the device with an incremented refcount.
>
> Johan
>
>
> Johan Hovold (3):
>   media: mediatek: vcodec: fix device leak on codec init
>   media: mediatek: mdp: fix device leak on probe
>   media: mediatek: amend vpu_get_plat_device() documentation

Whole series is

Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>

>
>  drivers/media/platform/mediatek/mdp/mtk_mdp_core.c  |  7 +++++--
>  .../mediatek/vcodec/common/mtk_vcodec_fw_vpu.c      | 13 +++++++++++++
>  drivers/media/platform/mediatek/vpu/mtk_vpu.h       |  2 +-
>  3 files changed, 19 insertions(+), 3 deletions(-)
>
> --
> 2.49.1
>
>



More information about the Linux-mediatek mailing list