Re: [PATCH] AC97 atmel: add support for AT91(common with AVR32).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Fri, 10 Jul 2009 14:37:41 +0200,
Sedji Gaouaou wrote:
> 
> @@ -493,15 +544,21 @@ atmel_ac97c_capture_trigger(struct snd_pcm_substream *substream, int cmd)
>  	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: /* fall through */
>  	case SNDRV_PCM_TRIGGER_RESUME: /* fall through */
>  	case SNDRV_PCM_TRIGGER_START:
> -		retval = dw_dma_cyclic_start(chip->dma.rx_chan);
> -		if (retval)
> -			goto out;
> +		if (cpu_is_at32ap7000())

Missing brace?

> +			retval = dw_dma_cyclic_start(chip->dma.rx_chan);
> +			if (retval)
> +				goto out;
> +		else
> +			ptcr = ATMEL_PDC_RXTEN;


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux