ASoC: amd: ps: rename acp_restore_sdw_dma_config() function
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 7 Feb 2025 06:28:05 +0000 (11:58 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 7 Feb 2025 13:33:47 +0000 (13:33 +0000)
Rename acp_restore_sdw_dma_config() as acp63_restore_sdw_dma_config()
which is specific to ACP6.3 platform.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20250207062819.1527184-12-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/ps-sdw-dma.c

index 674203a203388ae77834ffa8ed61a036fec684e5..7cd153a4edc9a9f08cfcca981fd766fa752a1a7e 100644 (file)
@@ -526,7 +526,7 @@ static void acp63_sdw_platform_remove(struct platform_device *pdev)
        pm_runtime_disable(&pdev->dev);
 }
 
-static int acp_restore_sdw_dma_config(struct sdw_dma_dev_data *sdw_data)
+static int acp63_restore_sdw_dma_config(struct sdw_dma_dev_data *sdw_data)
 {
        struct acp_sdw_dma_stream *stream;
        struct snd_pcm_substream *substream;
@@ -576,7 +576,7 @@ static int __maybe_unused acp63_sdw_pcm_resume(struct device *dev)
        struct sdw_dma_dev_data *sdw_data;
 
        sdw_data = dev_get_drvdata(dev);
-       return acp_restore_sdw_dma_config(sdw_data);
+       return acp63_restore_sdw_dma_config(sdw_data);
 }
 
 static const struct dev_pm_ops acp63_pm_ops = {