[PATCH] drm/connector: only call HDMI audio helper plugged cb if non-null
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Tue May 27 20:10:08 UTC 2025
On Tue, 27 May 2025 19:57:08 +0200, Nicolas Frattaroli wrote:
> On driver remove, sound/soc/codecs/hdmi-codec.c calls the plugged_cb
> with NULL as the callback function and codec_dev, as seen in its
> hdmi_remove function.
>
> The HDMI audio helper then happily tries calling said null function
> pointer, and produces an Oops as a result.
>
> [...]
Applied to drm-misc-next-fixes, thanks!
[1/1] drm/connector: only call HDMI audio helper plugged cb if non-null
commit: be9b3f9a54101c19226c25ba7163d291183777a0
Best regards,
--
With best wishes
Dmitry
More information about the dri-devel
mailing list