Skip to content

Commit 220adc0

Browse files
morimotobroonie
authored andcommitted
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: kernel 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: 446b31e ("ASoC: soc-dai.h: remove unused call back functions") Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy 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.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 26ef47e commit 220adc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/fsl/mpc5200_psc_ac97.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ static int psc_ac97_probe(struct snd_soc_dai *cpu_dai)
222222
* psc_ac97_dai_template: template CPU Digital Audio Interface
223223
*/
224224
static const struct snd_soc_dai_ops psc_ac97_analog_ops = {
225+
.probe = psc_ac97_probe,
225226
.hw_params = psc_ac97_hw_analog_params,
226227
.trigger = psc_ac97_trigger,
227228
};
@@ -233,7 +234,6 @@ static const struct snd_soc_dai_ops psc_ac97_digital_ops = {
233234
static struct snd_soc_dai_driver psc_ac97_dai[] = {
234235
{
235236
.name = "mpc5200-psc-ac97.0",
236-
.probe = psc_ac97_probe,
237237
.playback = {
238238
.stream_name = "AC97 Playback",
239239
.channels_min = 1,

0 commit comments

Comments
 (0)