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)
199199
200200static int rmb_pcm_resume (struct device * dev )
201201{
202- struct acp_chip_info * chip = dev_get_platdata (dev );
202+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
203203 struct acp_stream * stream ;
204204 struct snd_pcm_substream * substream ;
205205 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)
146146
147147static int rn_pcm_resume (struct device * dev )
148148{
149- struct acp_chip_info * chip = dev_get_platdata (dev );
149+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
150150 struct acp_stream * stream ;
151151 struct snd_pcm_substream * substream ;
152152 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)
250250
251251static int acp63_pcm_resume (struct device * dev )
252252{
253- struct acp_chip_info * chip = dev_get_platdata (dev );
253+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
254254 struct acp_stream * stream ;
255255 struct snd_pcm_substream * substream ;
256256 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)
182182
183183static int acp70_pcm_resume (struct device * dev )
184184{
185- struct acp_chip_info * chip = dev_get_platdata (dev );
185+ struct acp_chip_info * chip = dev_get_drvdata (dev -> parent );
186186 struct acp_stream * stream ;
187187 struct snd_pcm_substream * substream ;
188188 snd_pcm_uframes_t buf_in_frames ;
You can’t perform that action at this time.
0 commit comments