[STLinux Kernel] [PATCH v2 4/4] ASoC: hdmi-codec: add channel mapping control

2016-12-19 Thread Arnaud Pouliquen
I detected 2 issues in this version, details below. V3 is following. Sorry for the inconvenience... Regards Arnaud On 12/14/2016 04:16 PM, Arnaud Pouliquen wrote: > +static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc) > +{ > + int i; > + const unsigned long hdmi_codec_eld

[PATCH v2 4/4] ASoC: hdmi-codec: add channel mapping control

2016-12-14 Thread Arnaud Pouliquen
Add user interface to provide channel mapping. In a first step this control is read only. As TLV type, the control provides all configuration available for HDMI sink(ELD), and provides current channel mapping selected by codec based on ELD and number of channels specified by user on open. When con