Merge "ASoC: bolero: Return the correct clk_div value"

This commit is contained in:
qctecmdr 2021-08-08 23:18:35 -07:00 • committed by Gerrit - the friendly Code Review server
commit d17f74aaf8

View file

@ -509,7 +509,7 @@ static u8 bolero_dmic_clk_div_get(struct snd_soc_component *component,
if (priv->macro_params[macro].clk_div_get) {
ret = priv->macro_params[macro].clk_div_get(component);
if (ret > 0)
if (ret >= 0)
return ret;
}