summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/acp/acp63.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/amd/acp/acp63.c')
-rw-r--r--sound/soc/amd/acp/acp63.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp/acp63.c b/sound/soc/amd/acp/acp63.c
index 52d895e624c7..1f15c96a9b94 100644
--- a/sound/soc/amd/acp/acp63.c
+++ b/sound/soc/amd/acp/acp63.c
@@ -250,7 +250,7 @@ static void acp63_audio_remove(struct platform_device *pdev)
static int acp63_pcm_resume(struct device *dev)
{
- struct acp_chip_info *chip = dev_get_platdata(dev);
+ struct acp_chip_info *chip = dev_get_drvdata(dev->parent);
struct acp_stream *stream;
struct snd_pcm_substream *substream;
snd_pcm_uframes_t buf_in_frames;