[PATCH] drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection

Chun-Kuang Hu chunkuang.hu at kernel.org
Sun Sep 24 07:27:11 PDT 2023


Hi, Jani:

Jani Nikula <jani.nikula at intel.com> 於 2023年9月22日 週五 下午5:44寫道:
>
> On Tue, 19 Sep 2023, Chen-Yu Tsai <wenst at chromium.org> wrote:
> > On Tue, Sep 19, 2023 at 7:02 PM Jani Nikula <jani.nikula at intel.com> wrote:
> >>
> >> On Fri, 15 Sep 2023, Chen-Yu Tsai <wenst at chromium.org> wrote:
> >> > On Thu, Sep 14, 2023 at 11:53 PM Jani Nikula <jani.nikula at intel.com> wrote:
> >> >>
> >> >> The sads returned by drm_edid_to_sad() needs to be freed.
> >> >>
> >> >> Fixes: e71a8ebbe086 ("drm/mediatek: dp: Audio support for MT8195")
> >> >> Cc: Guillaume Ranquet <granquet at baylibre.com>
> >> >> Cc: Bo-Chen Chen <rex-bc.chen at mediatek.com>
> >> >> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> >> >> Cc: Dmitry Osipenko <dmitry.osipenko at collabora.com>
> >> >> Cc: Chun-Kuang Hu <chunkuang.hu at kernel.org>
> >> >> Cc: Philipp Zabel <p.zabel at pengutronix.de>
> >> >> Cc: Matthias Brugger <matthias.bgg at gmail.com>
> >> >> Cc: dri-devel at lists.freedesktop.org
> >> >> Cc: linux-mediatek at lists.infradead.org
> >> >> Cc: linux-kernel at vger.kernel.org
> >> >> Cc: linux-arm-kernel at lists.infradead.org
> >> >> Cc: <stable at vger.kernel.org> # v6.1+
> >> >> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> >> >
> >> > Looks correct to me.
> >> >
> >> > Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
> >>
> >> Thanks for the reviews Chen-Yu and Guillaume. Will you push this to
> >> drm-misc-next or shall I?
> >
> > Patches for the MediaTek drm driver go through their own separate tree,
> > maintained by CK (Chun-Kuang).
>
> Chun-Kuang, can you confirm picking up these two patches, please?
>
> MAINTAINERS does not list a separate git repository for MediaTek drm
> drivers, so I don't know where that would be. It should probably be
> added to MAINTAINERS.

Applied to mediatek-drm-next [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

>
> Thanks,
> Jani.
>
> >
> > ChenYu
>
> --
> Jani Nikula, Intel



More information about the linux-arm-kernel mailing list