From: Jyri Sarha Date: Wed, 1 Apr 2015 17:35:57 +0000 (+0300) Subject: ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~8368^2~1^2~3^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=7b425f264fc2572bea8b15fe97948659507c6a45;p=mirror_ubuntu-artful-kernel.git ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID No IEC958_AES?_PRO_* macros should be used in HDMI consumer audio mode and IEC958_AES1_PRO_MODE_NOTID should be applied to byte 1 when applicable. However IEC958_AES1_PRO_MODE_NOTID is defined as 0 so this fix does not affect the functionality in any way. Reported-by: Russell King Signed-off-by: Jyri Sarha Signed-off-by: Mark Brown --- diff --git a/sound/soc/omap/omap-hdmi-audio.c b/sound/soc/omap/omap-hdmi-audio.c index ccfb41c22e53..1822578bbc2c 100644 --- a/sound/soc/omap/omap-hdmi-audio.c +++ b/sound/soc/omap/omap-hdmi-audio.c @@ -142,8 +142,6 @@ static int hdmi_dai_hw_params(struct snd_pcm_substream *substream, iec->status[0] |= IEC958_AES0_CON_EMPHASIS_NONE; - iec->status[0] |= IEC958_AES1_PRO_MODE_NOTID; - iec->status[1] = IEC958_AES1_CON_GENERAL; iec->status[2] |= IEC958_AES2_CON_SOURCE_UNSPEC;