File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ static void rembrandt_audio_remove(struct platform_device *pdev)
199
199
200
200
static int rmb_pcm_resume (struct device * dev )
201
201
{
202
- struct acp_chip_info * chip = dev_get_platdata (dev );
202
+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
203
203
struct acp_stream * stream ;
204
204
struct snd_pcm_substream * substream ;
205
205
snd_pcm_uframes_t buf_in_frames ;
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ static void renoir_audio_remove(struct platform_device *pdev)
146
146
147
147
static int rn_pcm_resume (struct device * dev )
148
148
{
149
- struct acp_chip_info * chip = dev_get_platdata (dev );
149
+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
150
150
struct acp_stream * stream ;
151
151
struct snd_pcm_substream * substream ;
152
152
snd_pcm_uframes_t buf_in_frames ;
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ static void acp63_audio_remove(struct platform_device *pdev)
250
250
251
251
static int acp63_pcm_resume (struct device * dev )
252
252
{
253
- struct acp_chip_info * chip = dev_get_platdata (dev );
253
+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
254
254
struct acp_stream * stream ;
255
255
struct snd_pcm_substream * substream ;
256
256
snd_pcm_uframes_t buf_in_frames ;
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ static void acp_acp70_audio_remove(struct platform_device *pdev)
182
182
183
183
static int acp70_pcm_resume (struct device * dev )
184
184
{
185
- struct acp_chip_info * chip = dev_get_platdata (dev );
185
+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
186
186
struct acp_stream * stream ;
187
187
struct snd_pcm_substream * substream ;
188
188
snd_pcm_uframes_t buf_in_frames ;
You can’t perform that action at this time.
0 commit comments