From: Lars-Peter Clausen Date: Wed, 22 Feb 2012 09:49:07 +0000 (+0100) Subject: ASoC: mxs-pcm: Request DMA channel early X-Git-Tag: v3.4-rc1~88^2^2~27^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a771ca16ad63cfd665bebadbc543857db6fa4e;p=pandora-kernel.git ASoC: mxs-pcm: Request DMA channel early Request the DMA channel in the PCM open callback instead of the hwparams callback, this allows us to let open fail if no dma channel is available. This also fixes a bug where the channel will be requested multiple times if hwparams is called multiple times. Signed-off-by: Lars-Peter Clausen Tested-by: Shawn Guo Signed-off-by: Mark Brown --- Reading git-diff-tree failed