Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34e04d3a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "bolero: va-macro: add dmic va rate to 1.2M for bolero 2.1"

parents 0bb3a155 60720686
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -202,6 +202,11 @@ 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)
		&& !va_priv->lpi_enable
		&& (va_priv->dmic_clk_div == VA_MACRO_CLK_DIV_16))
		return VA_MACRO_CLK_DIV_8;

	return va_priv->dmic_clk_div;
}