[alsa-devel] hda_codec_ops hotplug events
Raymond Yau
superquad.vortex2 at gmail.com
Thu Dec 16 07:53:43 CET 2010
2010/12/15 James Courtier-Dutton <james.dutton at 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);
More information about the Alsa-devel
mailing list