Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Frank Mandarino <fmandarino@endrelia.com>
Subject: Re: [PATCH 1/2] soc - at91-pcm - Fix line wrapping
Date: Thu, 08 May 2008 15:40:55 +0200	[thread overview]
Message-ID: <s5hej8cykuw.wl%tiwai@suse.de> (raw)
In-Reply-To: <1210242475-24279-1-git-send-email-broonie@opensource.wolfsonmicro.com>

At Thu,  8 May 2008 11:27:54 +0100,
Mark Brown wrote:
> 
> There's more checkpatch stuff to fix in the driver, this just fixes the
> minimum required for the following patch to be clean.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  sound/soc/at91/at91-pcm.c |   11 +++++++----
>  1 files changed, 7 insertions(+), 4 deletions(-)

Thanks, both applied to ALSA tree.


Takashi

> diff --git a/sound/soc/at91/at91-pcm.c b/sound/soc/at91/at91-pcm.c
> index 67c88e3..e36533d 100644
> --- a/sound/soc/at91/at91-pcm.c
> +++ b/sound/soc/at91/at91-pcm.c
> @@ -103,7 +103,8 @@ static void at91_pcm_dma_irq(u32 ssc_sr,
>  		if (prtd->period_ptr >= prtd->dma_buffer_end) {
>  			prtd->period_ptr = prtd->dma_buffer;
>  		}
> -		at91_ssc_write(params->ssc_base + params->pdc->xnpr, prtd->period_ptr);
> +		at91_ssc_write(params->ssc_base + params->pdc->xnpr,
> +			       prtd->period_ptr);
>  		at91_ssc_write(params->ssc_base + params->pdc->xncr,
>  				prtd->period_size / params->pdc_xfer_size);
>  	}
> @@ -191,10 +192,12 @@ static int at91_pcm_trigger(struct snd_pcm_substream *substream,
>  		at91_ssc_write(params->ssc_base + AT91_SSC_IER,
>  			params->mask->ssc_endx | params->mask->ssc_endbuf);
>  
> -		at91_ssc_write(params->ssc_base + ATMEL_PDC_PTCR, params->mask->pdc_enable);
> +		at91_ssc_write(params->ssc_base + ATMEL_PDC_PTCR,
> +			params->mask->pdc_enable);
>  
> -		DBG("sr=%lx imr=%lx\n", at91_ssc_read(params->ssc_base + AT91_SSC_SR),
> -					at91_ssc_read(params->ssc_base + AT91_SSC_IER));
> +		DBG("sr=%lx imr=%lx\n",
> +		    at91_ssc_read(params->ssc_base + AT91_SSC_SR),
> +		    at91_ssc_read(params->ssc_base + AT91_SSC_IER));
>  		break;
>  
>  	case SNDRV_PCM_TRIGGER_STOP:
> -- 
> 1.5.5.1
> 

      parent reply	other threads:[~2008-05-08 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-08 10:27 [PATCH 1/2] soc - at91-pcm - Fix line wrapping Mark Brown
2008-05-08 10:27 ` [PATCH 2/2] soc at91 minor bug fixes Mark Brown
2008-05-08 13:40 ` Takashi Iwai [this message]

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=s5hej8cykuw.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=fmandarino@endrelia.com \
    /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