aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-01-27 19:35:01 +0000
committerColin Cross <ccross@android.com>2011-06-14 09:06:12 -0700
commit055cb29d144685566efff9c12d864dd3bfe91963 (patch)
tree05cd0b8b8c1ff5b04c4cb0a14de1d464b8616e6c /drivers/block
parent70d9308c044b4ba3af896aa20105f3ac4f5f2f1a (diff)
downloadkernel_samsung_tuna-055cb29d144685566efff9c12d864dd3bfe91963.zip
kernel_samsung_tuna-055cb29d144685566efff9c12d864dd3bfe91963.tar.gz
kernel_samsung_tuna-055cb29d144685566efff9c12d864dd3bfe91963.tar.bz2
ASoC: core - pcm mutex per rtd
In preparation for ASoC DSP support. The new DSP core allows DSP DAIs to be dynamically re-routed at runtime between the PCM device end (or Frontend - FE) and the physical DAI (Backend - BE) using regular kcontrols (just like a hardware CODEC). The DSP core therefore must be able to call PCM operations for both the Frontend and Backend(s) DAIs at the same time. Currently we have a global pcm_mutex that is used to serialise the ASoC PCM operations. This patch removes the global mutex and adds a mutex per RTD allowing the PCM operations to be reentrant and allow control of more than one DAI at at time. e.g. a frontend DSP hw_params() could configure multiple backend hw_params() with similar or different hw parameters at the same time. Also fix the naming of soc_pcm_close. Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions