ASoC: dapm: fix clock get name
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 6 Nov 2023 10:37:09 +0000 (11:37 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Nov 2023 10:57:03 +0000 (10:57 +0000)
commit4bdcbc31ad2112385ad525b28972c45015e6ad70
tree71d142df723b4cf35ad365482fe5b27f693bbe47
parent15be353d55f9e12e34f9a819f51eb41fdef5eda8
ASoC: dapm: fix clock get name

The name currently used to get the clock includes the dapm prefix.
It should use the name as provided to the widget, without the prefix.

Fixes: 3caac759681e ("ASoC: soc-dapm.c: fixup snd_soc_dapm_new_control_unlocked() error handling")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20231106103712.703962-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c