summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-02-22 10:49:07 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-22 13:21:49 +0000
commit95a771ca16ad63cfd665bebadbc543857db6fa4e (patch)
tree1d7b2eb1d8f02a3528dd47619bc8436b001e7a3a /sound/soc/codecs
parent4564d10f3066a1abf5053936684e2c8495163def (diff)
downloadlinux-stable-95a771ca16ad63cfd665bebadbc543857db6fa4e.tar.gz
linux-stable-95a771ca16ad63cfd665bebadbc543857db6fa4e.tar.bz2
linux-stable-95a771ca16ad63cfd665bebadbc543857db6fa4e.zip
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>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions