lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080919182036.GA16316@sirena.org.uk>
Date:	Fri, 19 Sep 2008 19:20:38 +0100
From:	Mark Brown <broonie@...ena.org.uk>
To:	Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Cc:	lrg@...mlogic.co.uk, linux-kernel@...r.kernel.org,
	alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: Fix at32-pcm build breakage with PM enabled

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@...el.com>

Acked-by: Mark Brown <broonie@...nsource.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@...r.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."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ