diff options
author | Sangsu Park | 2012-01-02 09:15:10 +0100 |
---|---|---|
committer | Mark Brown | 2012-01-03 21:28:51 +0100 |
commit | a500231da461cfe29541cb4b8422eb9bf59aa6ac (patch) | |
tree | 55936c39c91d67b760aec3b73eef654693647030 /sound/soc/codecs | |
parent | ASoC: pxa: Convert corgi to use snd_soc_register_card() (diff) | |
download | kernel-qcow2-linux-a500231da461cfe29541cb4b8422eb9bf59aa6ac.tar.gz kernel-qcow2-linux-a500231da461cfe29541cb4b8422eb9bf59aa6ac.tar.xz kernel-qcow2-linux-a500231da461cfe29541cb4b8422eb9bf59aa6ac.zip |
ASoC: soc-pcm: Allocate PCM operations dynamically to support multiple DAIs
The original code does not cover the case that two DAIs(CPU) have different
ASoC core PCM operations(like mmap, pointer...). Currently we have only one
global soc_pcm_ops for ASoC core PCM operation. When two DAIs have different
pointer functions, second DAI's pointer function is set for both first DAI
and second DAI in case of original code.
This patch uses runtime's pcm_ops instead of global pcm_ops for each DAIs. So
each DAIs can have different ASoC core PCM operations. This is needed to
support multiple DAIs.
Signed-off-by: Sangsu Park <sangsu4u.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions