diff options
| author | Laurentiu Mihalcea <[email protected]> | 2024-03-28 22:12:01 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-04-03 12:09:48 +0000 |
| commit | e618b8b37aa1dac42f50c87373d71ecc68ead97d (patch) | |
| tree | 598ee27f85bf9ee871577785e03bc2aeac68f870 /sound/soc/sof/imx/imx-common.c | |
| parent | ASoC: SOF: imx: drop usage of the imx8_*_clocks API (diff) | |
| download | kernel-e618b8b37aa1dac42f50c87373d71ecc68ead97d.tar.gz kernel-e618b8b37aa1dac42f50c87373d71ecc68ead97d.zip | |
ASoC: SOF: imx: remove imx8_*_clocks API
Since the i.MX drivers no longer use the imx8_*_clocks API
this can be removed.
Signed-off-by: Laurentiu Mihalcea <[email protected]>
Reviewed-by: Iuliana Prodan <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/sof/imx/imx-common.c')
| -rw-r--r-- | sound/soc/sof/imx/imx-common.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sound/soc/sof/imx/imx-common.c b/sound/soc/sof/imx/imx-common.c index 36e3d414a18f..2981aea123d9 100644 --- a/sound/soc/sof/imx/imx-common.c +++ b/sound/soc/sof/imx/imx-common.c @@ -74,28 +74,4 @@ void imx8_dump(struct snd_sof_dev *sdev, u32 flags) } EXPORT_SYMBOL(imx8_dump); -int imx8_parse_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) -{ - int ret; - - ret = devm_clk_bulk_get(sdev->dev, clks->num_dsp_clks, clks->dsp_clks); - if (ret) - dev_err(sdev->dev, "Failed to request DSP clocks\n"); - - return ret; -} -EXPORT_SYMBOL(imx8_parse_clocks); - -int imx8_enable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) -{ - return clk_bulk_prepare_enable(clks->num_dsp_clks, clks->dsp_clks); -} -EXPORT_SYMBOL(imx8_enable_clocks); - -void imx8_disable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) -{ - clk_bulk_disable_unprepare(clks->num_dsp_clks, clks->dsp_clks); -} -EXPORT_SYMBOL(imx8_disable_clocks); - MODULE_LICENSE("Dual BSD/GPL"); |
