[PATCH v2 03/14] ASoC: hdac_hdmi - Use list to add pins and converters

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 04:44:55PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:51 +0100, > Subhransu S. Prusty wrote: > > static int hdac_hdmi_dev_remove(struct hdac_ext_device *edev) > > { > > + struct hdac_hdmi_priv *hdmi = edev->private_data; > > + struct hdac_hdmi_pin *pin; > >

[PATCH v2 03/14] ASoC: hdac_hdmi - Use list to add pins and converters

2015-12-04 Thread Subhransu S. Prusty
Future platforms may have a different set of pins/converters. So use lists to add pins and converters based on enumeration. Also it may be required to connect any converter to any pin dynamically as per different use cases (for example DP is connected to pin 6 on skylake board). So this will help

[PATCH v2 03/14] ASoC: hdac_hdmi - Use list to add pins and converters

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:51 +0100, Subhransu S. Prusty wrote: > static int hdac_hdmi_dev_remove(struct hdac_ext_device *edev) > { > + struct hdac_hdmi_priv *hdmi = edev->private_data; > + struct hdac_hdmi_pin *pin; > + struct hdac_hdmi_cvt *cvt; > + > snd_soc_unregister_codec(&