5 Mar
2016
5 Mar
'16
4:50 a.m.
On Thu, Mar 03, 2016 at 02:45:35PM +0800, Zidan Wang wrote:
if (snd_soc_codec_get_bias_level(codec) == SND_SOC_BIAS_STANDBY) { active_reference(codec);
for (i = 0; i < WM8994_NUM_MCLK; i++)
if (!IS_ERR(pdata->mclk[i]))
clk_prepare_enable(pdata->mclk[i]);
break;}
This is unconditionally enabling both mclks but the device has a wide range of options with what it can do with clocks, it doesn't need to use both.