projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f522af4
)
ASoC: sti: merge DAI call back functions into ops
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 8 Aug 2023 22:56:11 +0000
(22:56 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Aug 2023 12:09:24 +0000
(13:09 +0100)
ALSA SoC merges DAI call backs into .ops.
This patch merge these into one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link:
https://lore.kernel.org/r/87fs4tb0tw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/sti_uniperif.c
patch
|
blob
|
history
diff --git
a/sound/soc/sti/sti_uniperif.c
b/sound/soc/sti/sti_uniperif.c
index a4d74d1e3c2403321c9fb18fea4dd8550319629f..2c21a86421e66e5f6b565c671f79f176f8a672c9 100644
(file)
--- a/
sound/soc/sti/sti_uniperif.c
+++ b/
sound/soc/sti/sti_uniperif.c
@@
-369,10
+369,14
@@
static int sti_uniperiph_dai_probe(struct snd_soc_dai *dai)
return sti_uniperiph_dai_create_ctrl(dai);
}
-static const struct snd_soc_dai_
driver sti_uniperiph_dai_template
= {
+static const struct snd_soc_dai_
ops sti_uniperiph_dai_ops
= {
.probe = sti_uniperiph_dai_probe,
};
+static const struct snd_soc_dai_driver sti_uniperiph_dai_template = {
+ .ops = &sti_uniperiph_dai_ops,
+};
+
static const struct snd_soc_component_driver sti_uniperiph_dai_component = {
.name = "sti_cpu_dai",
.suspend = sti_uniperiph_suspend,