[alsa-devel] [PATCH 2/5] [RFC]intel_hdmi_audio: interface module

Bandarupalli, Sailaja sailaja.bandarupalli at intel.com
Thu Nov 25 06:54:37 CET 2010


 
> > > +/**
> > > + * had_hot_plug - to create sound card instance for HDMI audio
> playabck
> > > + *
> > > + *
> > > + * This function is called when the hdmi cable is plugged in. This
> function
> > > + * creates and registers the sound card with ALSA
> > > + */
> > > +static int had_hot_plug(void)
> > > +{
> >
> > It would seem more natural for the HDMI device to be created and
> > instatiated via the normal Linux device model - when a HDMI
> connection
> > is detected the thing doing the detection creates and registers a new
> > device of some kind which the driver core then binds to a separate
> > driver.
> 
> Yeah, the driver structure here is somehow wacky, although it's not
> to hard to trace.
> 
> 

Agree, we will work on this and revert back to you.

Thanks,
Sailaja & Ramesh.


More information about the Alsa-devel mailing list