JackOfAll wrote:
> Has anyone tried disabling the emphasis with iecset?
>
> >
Code:
--------------------
> >
> [fedora@wandboard ~]$ iecset -c1
> Mode: consumer
> Data: audio
> Rate: 44100 Hz
> Copyright: permitted
> Emphasis: 50/15us
> Category: PCM coder
> Original: 1st generation
> Clock: 1000 ppm
>
> [fedora@wandboard ~]$ iecset -c1 emphasis 0
> Mode: consumer
> Data: audio
> Rate: 44100 Hz
> Copyright: permitted
> Emphasis: none
> Category: PCM coder
> Original: 1st generation
> Clock: 1000 ppm
>
--------------------
> >
I'd expect that to work too.. I suspect this is the easiest fix:
Code:
--------------------
diff --git a/sound/soc/codecs/mxc_spdif.c b/sound/soc/codecs/mxc_spdif.c
index 33b2337..acba8d0 100644
--- a/sound/soc/codecs/mxc_spdif.c
+++ b/sound/soc/codecs/mxc_spdif.c
@@ -1273,9 +1273,7 @@ static int __devinit mxc_spdif_probe(struct
platform_device *pdev)
if (plat_data->spdif_tx) {
/* init tx channel status default value */
- mxc_spdif_control.ch_status[0] =
- IEC958_AES0_CON_NOT_COPYRIGHT |
- IEC958_AES0_CON_EMPHASIS_5015;
+ mxc_spdif_control.ch_status[0] =
IEC958_AES0_CON_NOT_COPYRIGHT;
mxc_spdif_control.ch_status[1] = IEC958_AES1_CON_DIGDIGCONV_ID;
mxc_spdif_control.ch_status[2] = 0x00;
mxc_spdif_control.ch_status[3] =
--------------------
I am wondering if we patch that file whether we can add some more
frequency support at the same time. From what I can see it sets an
internal ppl to a required frequency and then divides this by 23 or 37
in the spdif tx. I don't know where these magic numbers come from
(arch/arm/mach-mx6/board-wand.c wand_spdif)... So it may be as simple
as reusing these and adding more frequencies to the case statements
assuming the range of the audio pll is large enough.
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=98544
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix