diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-05-17 10:21:12 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-05-20 15:16:42 +0100 |
| commit | f7c4842abfa1a219554a3ffd8c317e8fdd979bec (patch) | |
| tree | db49242fb42e2609338cf53f765ef1af49f5536f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ASoC: cs42xx8: Add regcache mask dirty (diff) | |
| download | linux-f7c4842abfa1a219554a3ffd8c317e8fdd979bec.tar.gz linux-f7c4842abfa1a219554a3ffd8c317e8fdd979bec.zip | |
ASoC: soc-dpm: fixup DAI active unbalance
snd_soc_dai_link_event() is updating snd_soc_dai :: active,
but it is unbalance.
It counts up if it has startup callback.
case SND_SOC_DAPM_PRE_PMU:
...
snd_soc_dapm_widget_for_each_source_path(w, path) {
...
if (source->driver->ops->startup) {
...
=> source->active++;
}
...
}
...
But, always counts down
case SND_SOC_DAPM_PRE_PMD:
...
snd_soc_dapm_widget_for_each_source_path(w, path) {
...
=> source->active--;
...
}
This patch always counts up when SND_SOC_DAPM_PRE_PMD.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
