For bolero 2.x, update dmic clk_div to use 1.2M instead of 600k if non-island usecase. Change-Id: Ia057283c164de576cfd05f4c64f6db24db589ead Signed-off-by: Laxminath Kasam <[email protected]>
@@ -200,7 +200,7 @@ static int va_macro_clk_div_get(struct snd_soc_component *component)
if (!va_macro_get_data(component, &va_dev, &va_priv, __func__))
return -EINVAL;
- if ((va_priv->version == BOLERO_VERSION_2_1)
+ if ((va_priv->version >= BOLERO_VERSION_2_0)
&& !va_priv->lpi_enable
&& (va_priv->dmic_clk_div == VA_MACRO_CLK_DIV_16))
return VA_MACRO_CLK_DIV_8;