[PATCH v2 12/14] ASoC: hdac_hdmi: Add infoframe support for dp audio

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 05:13:16PM +, Daniel Stone wrote: > Hi Subhransu, > > On 3 December 2015 at 21:09, Subhransu S. Prusty > wrote: > > + if (conn_type == DRM_ELD_CONN_TYPE_HDMI) { > > + hdmi_audio_infoframe_init(&frame); > > + > > + /* Default stereo for

[PATCH v2 12/14] ASoC: hdac_hdmi: Add infoframe support for dp audio

2015-12-04 Thread Subhransu S. Prusty
This uses the get_conn_type API added in the previous patch to identify the type of display connected and fills the infoframe accordingly. Signed-off-by: Subhransu S. Prusty Signed-off-by: Vinod Koul --- sound/soc/codecs/hdac_hdmi.c | 68 ++-- 1 file chan

[PATCH v2 12/14] ASoC: hdac_hdmi: Add infoframe support for dp audio

2015-12-03 Thread Daniel Stone
Hi Subhransu, On 3 December 2015 at 21:09, Subhransu S. Prusty wrote: > + if (conn_type == DRM_ELD_CONN_TYPE_HDMI) { > + hdmi_audio_infoframe_init(&frame); > + > + /* Default stereo for now */ > + frame.channels = channels; > + > + ret