On Fri, Feb 14, 2020 at 3:07 PM CK Hu <ck.hu@xxxxxxxxxxxx> 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. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel