diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2022-07-11 10:39:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-11 12:06:29 +0100 |
commit | eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43 (patch) | |
tree | 0c6c80d6acfd61b2d02122c2fa7c9de0390ec44e /sound/soc | |
parent | 19bb587f3ffcb9c166bac2debdc3b08fb362c0b7 (diff) | |
download | linux-eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43.tar.gz linux-eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43.tar.bz2 linux-eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43.zip |
ASoC: fsl_utils: Drop usage of __clk_get_name()
Avoid build errors when CONFIG_COMMON_CLK is not set/enabled.
ERROR: modpost: "__clk_get_name" [sound/soc/fsl/snd-soc-fsl-utils.ko] undefined!
Fixes: 7bad8125549c ("ASoC: fsl_utils: Add function to handle PLL clock source")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1657507190-14546-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/fsl_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_utils.c b/sound/soc/fsl/fsl_utils.c index 3e969c7bc1c5..d0fc430f7033 100644 --- a/sound/soc/fsl/fsl_utils.c +++ b/sound/soc/fsl/fsl_utils.c @@ -147,7 +147,7 @@ void fsl_asoc_reparent_pll_clocks(struct device *dev, struct clk *clk, if (reparent) { ret = clk_set_parent(p, npll); if (ret < 0) - dev_warn(dev, "failed to set parent %s: %d\n", __clk_get_name(npll), ret); + dev_warn(dev, "failed to set parent:%d\n", ret); } } EXPORT_SYMBOL(fsl_asoc_reparent_pll_clocks); |