mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: adi: merge DAI call back functions into ops
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>
This commit is contained in:
committed by
Mark Brown
parent
edd89ceac2
commit
db49eb7b38
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user