MCLK clockblock now configed and started in audio, not in configAudioPorts. It is now never stopped since this caused issues with FB when moving to/from DoP mode

This commit is contained in:
Ross Owen
2013-09-09 23:39:34 +01:00
parent 71797cc608
commit f201614224

View File

@@ -808,6 +808,11 @@ void audio(chanend c_mix_out, chanend ?c_dig_rx, chanend ?c_config, chanend ?c)
}
#endif
/* Clock master clock-block from master-clock port */
configure_clock_src(clk_audio_mclk, p_mclk_in);
start_clock(clk_audio_mclk);
#ifdef SPDIF
SpdifTransmitPortConfig(p_spdif_tx, clk_mst_spd, p_mclk_in);
#endif
@@ -815,6 +820,8 @@ void audio(chanend c_mix_out, chanend ?c_dig_rx, chanend ?c_config, chanend ?c)
/* Initialise master clock generation */
//ClockingInit(c_config);
/* Perform required CODEC/ADC/DAC initialisation */
AudioHwInit(c_config);