[alsa-devel] hda_codec_ops hotplug events
static struct hda_codec_ops intel_hdmi_patch_ops = { .init = intel_hdmi_init, .free = intel_hdmi_free, .build_pcms = intel_hdmi_build_pcms, .build_controls = intel_hdmi_build_controls, .unsol_event = hdmi_unsol_event, };
What calls .unsol_event ?
It need something to cause this function to be executed. I cannot seem to find out what calls this.
2010/12/15 James Courtier-Dutton james.dutton@gmail.com
static struct hda_codec_ops intel_hdmi_patch_ops = { .init = intel_hdmi_init, .free = intel_hdmi_free, .build_pcms = intel_hdmi_build_pcms, .build_controls = intel_hdmi_build_controls, .unsol_event = hdmi_unsol_event, };
What calls .unsol_event ?
It need something to cause this function to be executed. I cannot seem to find out what calls this.
In hda_codec.
static void process_unsol_events(struct work_struct *work) { ..... if (codec && codec->patch_ops.unsol_event) codec->patch_ops.unsol_event(codec, res);
participants (2)
-
James Courtier-Dutton
-
Raymond Yau