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. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel