diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-04-12 10:12:25 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-13 10:31:49 +0200 |
commit | e1c78df1da112f2644058af2425dd5ca3eb1a96a (patch) | |
tree | ab5df7d5a9e38ec5054820575a84a4dd6e5d35f4 /sound/core/pcm_dmaengine.c | |
parent | 9a4f35865ffcb2f4603375eadabe0d475fab1a0f (diff) | |
download | op-kernel-dev-e1c78df1da112f2644058af2425dd5ca3eb1a96a.zip op-kernel-dev-e1c78df1da112f2644058af2425dd5ca3eb1a96a.tar.gz |
ALSA: ctl: fix to handle several elements added by one operation for userspace element
An element instance can have several elements with the same feature.
Some userspace applications can add such an element instance by add
operation with the number of elements. Then, the element instance
gets a memory object to keep states of these elements.
But the element instance has just one memory object for the elements.
This causes the same result to each read/write operations to the
different elements.
This commit fixes this bug by allocating enough memory objects to the
element instance for each of elements.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_dmaengine.c')
0 files changed, 0 insertions, 0 deletions