summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-12 01:48:39 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-01-18 13:08:48 +0300
commit5056faeec3eefb280125137cf82336237713a70e (patch)
tree28226d2d3c2d05b5873dbfdecfcd8280943b7e87
parent0962fbe45a7ee8cfc9745b0532c5e677fc83be74 (diff)
downloadlinux-5056faeec3eefb280125137cf82336237713a70e.tar.xz
ASoC: Update jh7110 PWM DAC for ops move
For some reason the JH7110 PWM DAC driver made it through build testing in spite of not being updated for the move of probe() to the ops struct. Make the required update. Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/starfive/jh7110_pwmdac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/starfive/jh7110_pwmdac.c b/sound/soc/starfive/jh7110_pwmdac.c
index 033a9064f06b..391544fe8568 100644
--- a/sound/soc/starfive/jh7110_pwmdac.c
+++ b/sound/soc/starfive/jh7110_pwmdac.c
@@ -357,6 +357,7 @@ static int jh7110_pwmdac_dai_probe(struct snd_soc_dai *dai)
}
static const struct snd_soc_dai_ops jh7110_pwmdac_dai_ops = {
+ .probe = jh7110_pwmdac_dai_probe,
.startup = jh7110_pwmdac_startup,
.hw_params = jh7110_pwmdac_hw_params,
.trigger = jh7110_pwmdac_trigger,
@@ -369,7 +370,6 @@ static const struct snd_soc_component_driver jh7110_pwmdac_component = {
static struct snd_soc_dai_driver jh7110_pwmdac_dai = {
.name = "jh7110-pwmdac",
.id = 0,
- .probe = jh7110_pwmdac_dai_probe,
.playback = {
.channels_min = 1,
.channels_max = 2,