summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-02-10 12:14:12 +0900
committerMark Brown <broonie@kernel.org>2020-02-11 15:40:36 +0000
commit7a5aaba4a4f45acc8192beb8a4b1bd4a58b67ce3 (patch)
tree5773704ef8a4ba9cf5a09a0e4cc00f54b18c1d42 /tools/perf/scripts/python
parentfa1f875c120fa44572c561d86022af2f6b0774c7 (diff)
downloadlinux-7a5aaba4a4f45acc8192beb8a4b1bd4a58b67ce3.tar.gz
linux-7a5aaba4a4f45acc8192beb8a4b1bd4a58b67ce3.zip
ASoC: soc-pcm: add snd_soc_runtime_action()
ALSA SoC has snd_soc_runtime_activate() / snd_soc_runtime_deactivate(). These increment or decrement DAI/Component activity, but the code difference is only +1 or -1. This patch adds common snd_soc_runtime_action() which can get +1 or -1 as parameter, and use it from snd_soc_runtime_activate/deactivate() to avoid duplicate implementation. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/87blq7ceyq.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions