projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc3331
)
ASoC: ux500: merge DAI call back functions into ops
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 8 Aug 2023 22:56:46 +0000
(22:56 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Aug 2023 12:09:29 +0000
(13:09 +0100)
ALSA SoC merges DAI call backs into .ops.
This patch merge these into one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link:
https://lore.kernel.org/r/877cq5b0sx.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ux500/ux500_msp_dai.c
patch
|
blob
|
history
diff --git
a/sound/soc/ux500/ux500_msp_dai.c
b/sound/soc/ux500/ux500_msp_dai.c
index 44e88dad85841e53211ea98099c5c077d81f60b6..cde0dd8e2569145895f28242ec79e41debea42ff 100644
(file)
--- a/
sound/soc/ux500/ux500_msp_dai.c
+++ b/
sound/soc/ux500/ux500_msp_dai.c
@@
-683,6
+683,7
@@
static int ux500_msp_dai_of_probe(struct snd_soc_dai *dai)
static const struct snd_soc_dai_ops ux500_msp_dai_ops[] = {
{
+ .probe = ux500_msp_dai_of_probe,
.set_sysclk = ux500_msp_dai_set_dai_sysclk,
.set_fmt = ux500_msp_dai_set_dai_fmt,
.set_tdm_slot = ux500_msp_dai_set_tdm_slot,
@@
-695,7
+696,6
@@
static const struct snd_soc_dai_ops ux500_msp_dai_ops[] = {
};
static struct snd_soc_dai_driver ux500_msp_dai_drv = {
- .probe = ux500_msp_dai_of_probe,
.playback.channels_min = UX500_MSP_MIN_CHANNELS,
.playback.channels_max = UX500_MSP_MAX_CHANNELS,
.playback.rates = UX500_I2S_RATES,