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:
b4a752b
)
ASoC: adi: merge DAI call back functions into ops
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 8 Aug 2023 22:55:15 +0000
(22:55 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Aug 2023 12:10:03 +0000
(13:10 +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/87r0odb0vg.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/adi/axi-spdif.c
patch
|
blob
|
history
diff --git
a/sound/soc/adi/axi-spdif.c
b/sound/soc/adi/axi-spdif.c
index e4c99bbc9cdd1b684de8f5be2f721b3292a4e35a..10545bd99704252461c7f4c2e61d5b22eca81af3 100644
(file)
--- a/
sound/soc/adi/axi-spdif.c
+++ b/
sound/soc/adi/axi-spdif.c
@@
-148,6
+148,7
@@
static void axi_spdif_shutdown(struct snd_pcm_substream *substream,
}
static const struct snd_soc_dai_ops axi_spdif_dai_ops = {
+ .probe = axi_spdif_dai_probe,
.startup = axi_spdif_startup,
.shutdown = axi_spdif_shutdown,
.trigger = axi_spdif_trigger,
@@
-155,7
+156,6
@@
static const struct snd_soc_dai_ops axi_spdif_dai_ops = {
};
static struct snd_soc_dai_driver axi_spdif_dai = {
- .probe = axi_spdif_dai_probe,
.playback = {
.channels_min = 2,
.channels_max = 2,