Skip to content

media: mediatek: fix VPU device leaks on probe

Johan Hovold linux-media linux-mediatek lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: mediatek: mdp: fix device leak on probedrivers/media/platform/mediatek/mdp/mtk_mdp_core.c+5 -20 replies
2/2media: mediatek: amend vpu_get_plat_device() documentationdrivers/media/platform/mediatek/vpu/mtk_vpu.h+1 -14 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChen-Yu TsaiAngeloGioacchino Del Regno
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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(-)
Signature · 1 line
2.51.0