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

Takashi Sakamoto o-takashi at sakamocchi.jp
Mon Dec 12 12:12:16 UTC 2016


On Dec 12 2016 18:54, Takashi Iwai wrote:
>>>> +enum hdmi_codec_cea_spk_placement {
>>>> +	FL  = (1 <<  0),	/* Front Left           */
>>>> +	FC  = (1 <<  1),	/* Front Center         */
>>>> +	FR  = (1 <<  2),	/* Front Right          */
>>>> +	FLC = (1 <<  3),	/* Front Left Center    */
>>>> +	FRC = (1 <<  4),	/* Front Right Center   */
>>>> +	RL  = (1 <<  5),	/* Rear Left            */
>>>> +	RC  = (1 <<  6),	/* Rear Center          */
>>>> +	RR  = (1 <<  7),	/* Rear Right           */
>>>> +	RLC = (1 <<  8),	/* Rear Left Center     */
>>>> +	RRC = (1 <<  9),	/* Rear Right Center    */
>>>> +	LFE = (1 << 10),	/* Low Frequency Effect */
>>>> +};
>>>
>>> BIT() macro in "linux/bitops.h" is available.
>> will be corrected in a v2
>
> One slight caution: BIT() expands to an unsigned long type.

Mmm, indeed. This is my wrong indication, sorry.
Thanks for your correction.


Regards

Takashi Sakamoto


More information about the dri-devel mailing list