msm: vidc: Allocate bus vote data memory correctly
Allocate bus vote data memory in probe and free in remove. This makes vote data allocated once and accessible all the times. Allocate vote data for correct length. Protect vote data with core->lock for use-after-free issues. CRs-Fixed: 2073885 Change-Id: I72c8996176a082997948fb327cfdc279474c793c Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org> Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Loading
Please register or sign in to comment