summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r--firmware/mp3_playback.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index c68661bc35..dd36578c78 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -552,8 +552,11 @@ static void init_playback(void)
552 mas_codec_writereg(6, 0x0000); 552 mas_codec_writereg(6, 0x0000);
553 mas_codec_writereg(7, 0x4000); 553 mas_codec_writereg(7, 0x4000);
554 554
555 /* Disable SDO and SDI, low impedance S/PDIF outputs */ 555#ifdef HAVE_SPDIF_OUT
556 val = 0x09; 556 val = 0x09; /* Disable SDO and SDI, low impedance S/PDIF outputs */
557#else
558 val = 0x2d; /* Disable SDO and SDI, disable S/PDIF output */
559#endif
557 mas_writemem(MAS_BANK_D0, MAS_D0_INTERFACE_CONTROL, &val, 1); 560 mas_writemem(MAS_BANK_D0, MAS_D0_INTERFACE_CONTROL, &val, 1);
558 561
559 /* Set Demand mode and validate all settings */ 562 /* Set Demand mode and validate all settings */