ASoC: sun8i-codec: Hook up component probe function
authorSamuel Holland <samuel@sholland.org>
Wed, 19 Aug 2020 03:40:38 +0000 (22:40 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 19 Aug 2020 19:17:51 +0000 (20:17 +0100)
Due to a mistake made while reordering patches, commit 90cac932976e
("ASoC: sun8i-codec: Fix DAPM to match the hardware topology") added
the sun8i_codec_component_probe function without referencing it from
the component definition. Add the reference so the probe function gets
called as expected.

Fixes: 90cac932976e ("ASoC: sun8i-codec: Fix DAPM to match the hardware topology")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20200819034038.46418-1-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c

index 304683a71acd8e0a2c8e8f181cf927d792bfe8ca..e3a1347d7ecd1d2d7bca15b62b46e34d4bf1b007 100644 (file)
@@ -584,6 +584,7 @@ static const struct snd_soc_component_driver sun8i_soc_component = {
        .num_dapm_widgets       = ARRAY_SIZE(sun8i_codec_dapm_widgets),
        .dapm_routes            = sun8i_codec_dapm_routes,
        .num_dapm_routes        = ARRAY_SIZE(sun8i_codec_dapm_routes),
+       .probe                  = sun8i_codec_component_probe,
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,