aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2019-05-17 10:21:12 +0900
committerMark Brown <[email protected]>2019-05-20 15:16:42 +0100
commitf7c4842abfa1a219554a3ffd8c317e8fdd979bec (patch)
treedb49242fb42e2609338cf53f765ef1af49f5536f /net/lapb/lapb_iface.c
parentad6eecbfc01c987e0253371f274c3872042e4350 (diff)
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 <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions