summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorMaheshwar Ajja <majja@codeaurora.org>2016-11-29 13:14:11 -0800
committerMaheshwar Ajja <majja@codeaurora.org>2016-11-30 11:39:49 -0800
commit076fd7d3510e8b954ff4e5ca2ed87a3273bceeb5 (patch)
tree4201d925cff4fa77a78bcf6e38e858d9653af46a /kernel/sysctl.c
parentd43553d47d6964196c17c7bad0eed1c735a156f2 (diff)
msm: vidc: fix lock issue in msm_comm_get_mbs_per_sec()
Forward thread acquired v4l2_ctrl->handler->lock in v4l2_s_ctrl() and waiting for response from response thread. Response thread was blocked on core->lock which was acquired by second forward thread. The second forward thread acquired core->lock and called v4l2_g_ctrl() in msm_comm_get_mbs_per_sec() where it was blocked on same v4l2_ctrl->handler->lock and hence response thread was not unblocked. Resolve the deadlock issue by avoiding v4l2_g_ctrl() call in msm_comm_get_mbs_per_sec(). CRs-Fixed: 1095539 Change-Id: I73c2a74f1bb86f2b0359be54ed4f7675051db7b0 Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions