/* Enable ALC function and set limiter threshold value.  */
void CODEC_SetALC(u32 limiter_val)
/* Enable ALC function and set limiter threshold value.  */
void CODEC_SetALC(u32 limiter_val)
{
	u32 reg_value = AUDIO_SI_ReadReg(ALC_DRC_CTRL);
	reg_value |= (1 | 1 << 6);
	AUDIO_SI_WriteReg(ALC_DRC_CTRL, reg_value);
	reg_value = AUDIO_SI_ReadReg(ALC_RATE_CTRL);
	reg_value |= (limiter_val << 10);
	AUDIO_SI_WriteReg(ALC_RATE_CTRL, reg_value);
}