mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@sirena.org.uk>
To: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: lrg@slimlogic.co.uk, linux-kernel@vger.kernel.org,
	alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: Fix at32-pcm build breakage with PM enabled
Date: Fri, 19 Sep 2008 19:20:38 +0100	[thread overview]
Message-ID: <20080919182036.GA16316@sirena.org.uk> (raw)
In-Reply-To: <1221843045-18093-1-git-send-email-haavard.skinnemoen@atmel.com>

On Fri, Sep 19, 2008 at 06:50:45PM +0200, Haavard Skinnemoen wrote:
> s/PDC_PTCR/ATMEL_PDC_PTCR/
> 
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Please submit all ALSA patches to alsa-devel (added to the CC).

>  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 435f1da..c83584f 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 */
> -- 
> 1.5.6.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."

  reply	other threads:[~2008-09-19 18:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19 16:50 Haavard Skinnemoen
2008-09-19 18:20 ` Mark Brown [this message]
2008-09-19 19:14   ` Haavard Skinnemoen
2008-09-19 19:20     ` Liam Girdwood
2008-09-19 19:25     ` Mark Brown
2008-09-22 10:15     ` Takashi Iwai
2008-09-22 10:17 ` Takashi Iwai
2008-09-22 19:58   ` Haavard Skinnemoen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080919182036.GA16316@sirena.org.uk \
    --to=broonie@sirena.org.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=haavard.skinnemoen@atmel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®