1

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>
This commit is contained in:
Mark Brown 2023-09-11 23:48:39 +01:00
parent 3597ea7476
commit 0ed30d3fe2
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View 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,