mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 06:10:45 -04:00
ASoC: drm/vc4: 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/87v8dp9m74.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
af8a0e0391
commit
3964f1d944
@@ -2615,9 +2615,13 @@ static int vc4_hdmi_audio_cpu_dai_probe(struct snd_soc_dai *dai)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct snd_soc_dai_ops vc4_snd_dai_ops = {
|
||||
.probe = vc4_hdmi_audio_cpu_dai_probe,
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_driver vc4_hdmi_audio_cpu_dai_drv = {
|
||||
.name = "vc4-hdmi-cpu-dai",
|
||||
.probe = vc4_hdmi_audio_cpu_dai_probe,
|
||||
.ops = &vc4_snd_dai_ops,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.channels_min = 1,
|
||||
|
||||
Reference in New Issue
Block a user