diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-19 18:50:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-09-22 12:14:28 +0200 |
commit | b1132b3d874dcef296a63b46680a41b02de66bb4 (patch) | |
tree | 2891ecacffdbb6dd220ca436282fa84f1e63d59a /sound | |
parent | 8a656496b21efd95fd55b66e0601c5ad41f9b156 (diff) | |
download | linux-b1132b3d874dcef296a63b46680a41b02de66bb4.tar.gz linux-b1132b3d874dcef296a63b46680a41b02de66bb4.tar.bz2 linux-b1132b3d874dcef296a63b46680a41b02de66bb4.zip |
ALSA: ASoC: Fix at32-pcm build breakage with PM enabled
s/PDC_PTCR/ATMEL_PDC_PTCR/
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/at32/at32-pcm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/at32/at32-pcm.c b/sound/soc/at32/at32-pcm.c index 435f1daf177c..c83584f989a9 100644 --- a/sound/soc/at32/at32-pcm.c +++ b/sound/soc/at32/at32-pcm.c @@ -434,7 +434,8 @@ static int at32_pcm_suspend(struct platform_device *pdev, params = prtd->params; /* Disable the PDC and save the PDC registers */ - ssc_writex(params->ssc->regs, PDC_PTCR, params->mask->pdc_disable); + ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, + params->mask->pdc_disable); prtd->pdc_xpr_save = ssc_readx(params->ssc->regs, params->pdc->xpr); prtd->pdc_xcr_save = ssc_readx(params->ssc->regs, params->pdc->xcr); @@ -464,7 +465,7 @@ static int at32_pcm_resume(struct platform_device *pdev, ssc_writex(params->ssc->regs, params->pdc->xnpr, prtd->pdc_xnpr_save); ssc_writex(params->ssc->regs, params->pdc->xncr, prtd->pdc_xncr_save); - ssc_writex(params->ssc->regs, PDC_PTCR, params->mask->pdc_enable); + ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, params->mask->pdc_enable); return 0; } #else /* CONFIG_PM */ |