mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
ASoC: core: Set dapm->idle_bias_off for DAIs not mapped with a codec
The idle_bias_off flag is not configured for DAIs not mapped with a codec. This causes the pm counter to be increased at probe time for the CPU dai which unbalances the pm counter handling. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
209ffe19ff
commit
5f800080ca
@ -3715,6 +3715,9 @@ int snd_soc_register_dai(struct device *dev,
|
||||
}
|
||||
}
|
||||
|
||||
if (!dai->codec)
|
||||
dai->dapm.idle_bias_off = 1;
|
||||
|
||||
list_add(&dai->list, &dai_list);
|
||||
|
||||
mutex_unlock(&client_mutex);
|
||||
@ -3803,6 +3806,9 @@ int snd_soc_register_dais(struct device *dev,
|
||||
}
|
||||
}
|
||||
|
||||
if (!dai->codec)
|
||||
dai->dapm.idle_bias_off = 1;
|
||||
|
||||
list_add(&dai->list, &dai_list);
|
||||
|
||||
mutex_unlock(&client_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user