diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-30 16:54:06 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-01 02:41:15 +0100 |
| commit | 9f2ba3a104499d97aa7ffc52c81129b16d968bf8 (patch) | |
| tree | 21864844facf807de40c11fb1e032e40696d9c39 | |
| parent | c6c14a9915d512252d79aa6d3217e76b4143cc8b (diff) | |
| download | linux-next-9f2ba3a104499d97aa7ffc52c81129b16d968bf8.tar.gz linux-next-9f2ba3a104499d97aa7ffc52c81129b16d968bf8.zip | |
ASoC: spear: spdif_in: Move DAI probe callback to snd_soc_dai_ops
The .probe callback is no longer part of struct snd_soc_dai_driver
and is now provided through struct snd_soc_dai_ops.
Move spdif_in_dai_probe() accordingly so the driver follows the current
ASoC API and builds correctly on modern kernels.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260730095407.33894-4-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | sound/soc/spear/spdif_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c index d571055bfc6b..dd1e176193af 100644 --- a/sound/soc/spear/spdif_in.c +++ b/sound/soc/spear/spdif_in.c @@ -150,12 +150,12 @@ static int spdif_in_trigger(struct snd_pcm_substream *substream, int cmd, static const struct snd_soc_dai_ops spdif_in_dai_ops = { .shutdown = spdif_in_shutdown, + .probe = spdif_in_dai_probe, .trigger = spdif_in_trigger, .hw_params = spdif_in_hw_params, }; static struct snd_soc_dai_driver spdif_in_dai = { - .probe = spdif_in_dai_probe, .capture = { .channels_min = 2, .channels_max = 2, |
