alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID
@ 2015-04-01 17:35 Jyri Sarha
  2015-04-01 20:29 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jyri Sarha @ 2015-04-01 17:35 UTC (permalink / raw)
  To: alsa-devel
  Cc: liam.r.girdwood, linux, broonie, Jyri Sarha, peter.ujfalusi,
	tomi.valkeinen

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>
---
When I refactored the OMAP HDMI audio functionality I intentionally
wanted to keep all the HW bits identical to the earlier implementation
so that I could compare the register values of the old and the new
implementations one to one. One of these days I should go trough and
check all the bits now that new implementation has settled in.

Best regards,
Jyri

 sound/soc/omap/omap-hdmi-audio.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/omap/omap-hdmi-audio.c b/sound/soc/omap/omap-hdmi-audio.c
index f7eb42a..4775da4 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;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID
  2015-04-01 17:35 [PATCH] ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID Jyri Sarha
@ 2015-04-01 20:29 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-04-01 20:29 UTC (permalink / raw)
  To: Jyri Sarha
  Cc: peter.ujfalusi, liam.r.girdwood, alsa-devel, tomi.valkeinen, linux


[-- Attachment #1.1: Type: text/plain, Size: 342 bytes --]

On Wed, Apr 01, 2015 at 08:35:57PM +0300, Jyri Sarha wrote:
> 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.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-01 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-01 17:35 [PATCH] ASoC: omap-hdmi-audio: No not use IEC958_AES1_PRO_MODE_NOTID Jyri Sarha
2015-04-01 20:29 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).