Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 940ac15e authored by Nagesh Subba Reddy's avatar Nagesh Subba Reddy Committed by Peter Liu
Browse files

msm: isp: Fix list corruption



List corruption can happen due to stale entries in the list. Also, list
corruption can happen if we add the same buffer twice to the shared list.

With this fix,
 1. Whenever we get a flush call, we clear all elements in the
     shared list.
 2. Changed the list_del_init api to list_del.
 3. Added bufq lock protection to msm_isp_update_put_buf_cnt

Change-Id: I0ea4bd8bf706c3871e2f280f80f6e70c37d9eb36
Signed-off-by: default avatarNagesh Reddy <nageshsreddy@codeaurora.org>
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent 377d2dff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment