diff options
| author | Varun Balaraj <varunb@codeaurora.org> | 2017-09-07 19:55:39 +0530 |
|---|---|---|
| committer | Varun Balaraj <varunb@codeaurora.org> | 2017-09-21 18:44:25 +0530 |
| commit | 7200f000f962e957e3ab42f7c4621655ec7abb7d (patch) | |
| tree | d1e52c5fe9166f48f70c79b4789314e1c77e8177 /tools/perf/scripts/python | |
| parent | 6f777b2385c98a17d69bbeead6edbc7ad7470f72 (diff) | |
ASoC: msm: Add pan/scale & downmix control as platform mixer controls
During soundcard deregistration, free_chmap() is called as part of
pcm_free. This only frees downmix kcontrol as pcm has reference
only to downmix kcontrol followed by freeing of pcm pointer. The
other two kcontrol are freed as part of snd_ctl_remove(). However,
while freeing other two kcontrols, pcm_usr_ctl_private_free()
accesses pcm->streams which are already freed causing crash.
Fix is to add pan/scale & downmix controls as platform controls
instead of user control.
Change-Id: Ib2890122d079201e02c4b7839694d2e7618037b7
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
