commit | a888c5c9335750d174acfa3168c0640e112a6a09 | [log] [tgz] |
---|---|---|
author | Rohit Kumar <rohitkr@codeaurora.org> | Mon Nov 28 12:23:18 2016 +0530 |
committer | Banajit Goswami <bgoswami@codeaurora.org> | Sat Mar 18 15:34:33 2017 -0700 |
tree | 55d2fe6ed81c578ed978d28759e15a9713616239 | |
parent | bb09530b23f9c298ab078c779ccd36862fd69030 [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>