[PATCH] drm/mediatek: fix race condition for HDMI jack status reporting

Tzung-Bi Shih tzungbi at google.com
Fri Feb 14 07:35:15 UTC 2020


On Fri, Feb 14, 2020 at 3:07 PM CK Hu <ck.hu at mediatek.com> wrote:
> I think sound driver could be removed for some reason, and fn should be
> set to NULL before sound driver removed. In this case, codec_dev != NULL
> and fn == NULL.

No..if you see sound/soc/codecs/hdmi-codec.c, plugged_cb is statically
allocated.


More information about the dri-devel mailing list