diff options
| author | Rohit Kumar <rohitkr@codeaurora.org> | 2016-11-28 12:23:18 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-05 20:52:49 -0800 |
| commit | 48cf12d6e4f2df884ec32692e0bc918f6520b025 (patch) | |
| tree | c107635828468c601735772c6ffb36ab97cc011b /net/unix/af_unix.c | |
| parent | 5142c18bae30439decd1c139999b54197e2aae91 (diff) | |
ASoC: msm: qdsp6v2: Add mutex in afe_map_cal_data
Add mutex_lock in afe_map_cal_data around afe_cmd_memory_map to
avoid update of this_afe.status by afe_set_lpass_clk_cfg afe callback.
This fixes the failure of afe_cmd_memory_map waitqueue to enter into
sleep when wait_event_timeout is called as this_afe.status is already
zero leading to invalid map_handle.
CRs-Fixed: 1094151
Change-Id: I4833253803c162c98578ba7ce599ea1edafc1724
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
