summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/acp/acp70.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/amd/acp/acp70.c')
-rw-r--r--sound/soc/amd/acp/acp70.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp/acp70.c b/sound/soc/amd/acp/acp70.c
index 6d5f5ade075c..217b717e9beb 100644
--- a/sound/soc/amd/acp/acp70.c
+++ b/sound/soc/amd/acp/acp70.c
@@ -182,7 +182,7 @@ static void acp_acp70_audio_remove(struct platform_device *pdev)
static int acp70_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;