ASoC: Update jh7110 PWM DAC for ops move
authorMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 22:48:39 +0000 (23:48 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:13:55 +0000 (09:13 +0900)
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.

Change-Id: I340aeec650efb93dd65ff79b61f2d45e349fd693
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
sound/soc/starfive/jh7110_pwmdac.c

index 033a906..391544f 100644 (file)
@@ -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,