[alsa-devel] [PATCH] s3c24xx-pcm: fix hw_params dma handling
Hi,
While testing the recently merged driver for the neo1973, I found out that it was not working due to dma allocation failure. The problem is that there's only one dma channel available on s3c2410 and there may be more than one call to pcm_ops->hw_params(), resulting in dma request failures. This patch from Harald Welte fix this.
Arnaud
On Tue, Jul 24, 2007 at 10:56:29AM +0200, Arnaud Patard wrote:
While testing the recently merged driver for the neo1973, I found out that it was not working due to dma allocation failure. The problem is that there's only one dma channel available on s3c2410 and there may be more than one call to pcm_ops->hw_params(), resulting in dma request failures. This patch from Harald Welte fix this.
Thanks for picking up that one, Arnaud! I didn't submit this myself since it was just a 'quick fix' and I don't understand enough about ALSA to be sure that this really is the proper fix...
At Tue, 24 Jul 2007 10:56:29 +0200, Arnaud Patard (Rtp) wrote:
Hi,
While testing the recently merged driver for the neo1973, I found out that it was not working due to dma allocation failure. The problem is that there's only one dma channel available on s3c2410 and there may be more than one call to pcm_ops->hw_params(), resulting in dma request failures. This patch from Harald Welte fix this.
Arnaud
Thanks, applied to ALSA tree now.
Takashi
participants (3)
-
Arnaud Patard
-
Harald Welte
-
Takashi Iwai