[alsa-devel] [PATCH] AC97 atmel: add support for AT91(common with AVR32).
Takashi Iwai
tiwai at suse.de
Fri Jul 10 13:44:17 CEST 2009
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
More information about the Alsa-devel
mailing list