aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/sound/simple_card_utils.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-03-20 13:55:27 +0900
committerMark Brown <broonie@kernel.org>2019-03-21 14:51:30 +0000
commit686911b46fb5a08df142fe22b6c06dc6fbd3ba65 (patch)
tree8550290ea62ee05305b5bf446e76c87f690e0ea4 /include/sound/simple_card_utils.h
parentASoC: simple-card-utils: share asoc_simple_startup() (diff)
downloadwireguard-linux-686911b46fb5a08df142fe22b6c06dc6fbd3ba65.tar.xz
wireguard-linux-686911b46fb5a08df142fe22b6c06dc6fbd3ba65.zip
ASoC: simple-card-utils: share asoc_simple_shutdown()
The difference between simple-card / audio-graph are just using OF graph style, or not. In other words, other things should be same. This means, simple-card/audio-graph common functions should be implemented at simple-card-utils, and its own functions should be implemented at each files. Current simple-card / audio-graph have almost same functions. This patch shares asoc_simple_shutdown() between in these 2 drivers. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/simple_card_utils.h')
-rw-r--r--include/sound/simple_card_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h
index 0653fb9385d1..edda646c3ebe 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -84,8 +84,8 @@ int asoc_simple_card_parse_clk(struct device *dev,
struct asoc_simple_dai *simple_dai,
const char *dai_name,
struct snd_soc_dai_link_component *dlc);
-void asoc_simple_card_clk_disable(struct asoc_simple_dai *dai);
int asoc_simple_startup(struct snd_pcm_substream *substream);
+void asoc_simple_shutdown(struct snd_pcm_substream *substream);
#define asoc_simple_card_parse_cpu(node, dai_link, \
list_name, cells_name, is_single_link) \