Skip to content

Commit

Permalink
ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID
Browse files Browse the repository at this point in the history
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 <linux@arm.linux.org.uk>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Jyri Sarha authored and Mark Brown committed Apr 1, 2015
1 parent 3d4cf65 commit 7b425f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/omap/omap-hdmi-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b425f2

Please sign in to comment.