commit | 95a771ca16ad63cfd665bebadbc543857db6fa4e | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Feb 22 10:49:07 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Feb 22 13:21:49 2012 +0000 |
tree | 1d7b2eb1d8f02a3528dd47619bc8436b001e7a3a | |
parent | 4564d10f3066a1abf5053936684e2c8495163def [diff] |
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 <lars@metafoo.de> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>