Commit 220adc0f authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: fsl: merge DAI call back functions into ops

ALSA SoC merges DAI call backs into .ops.
This patch merge these into one.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308152047.psX1QNDh-lkp@intel.com/
Cc: Randy Dunlap <rdunlap@infradead.org>
Fixes: 446b31e8 ("ASoC: soc-dai.h: remove unused call back functions")
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/87a5ujubj0.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 26ef47e5
...@@ -222,6 +222,7 @@ static int psc_ac97_probe(struct snd_soc_dai *cpu_dai) ...@@ -222,6 +222,7 @@ static int psc_ac97_probe(struct snd_soc_dai *cpu_dai)
* psc_ac97_dai_template: template CPU Digital Audio Interface * psc_ac97_dai_template: template CPU Digital Audio Interface
*/ */
static const struct snd_soc_dai_ops psc_ac97_analog_ops = { static const struct snd_soc_dai_ops psc_ac97_analog_ops = {
.probe = psc_ac97_probe,
.hw_params = psc_ac97_hw_analog_params, .hw_params = psc_ac97_hw_analog_params,
.trigger = psc_ac97_trigger, .trigger = psc_ac97_trigger,
}; };
...@@ -233,7 +234,6 @@ static const struct snd_soc_dai_ops psc_ac97_digital_ops = { ...@@ -233,7 +234,6 @@ static const struct snd_soc_dai_ops psc_ac97_digital_ops = {
static struct snd_soc_dai_driver psc_ac97_dai[] = { static struct snd_soc_dai_driver psc_ac97_dai[] = {
{ {
.name = "mpc5200-psc-ac97.0", .name = "mpc5200-psc-ac97.0",
.probe = psc_ac97_probe,
.playback = { .playback = {
.stream_name = "AC97 Playback", .stream_name = "AC97 Playback",
.channels_min = 1, .channels_min = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment