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

Commit f60ba063 authored by Saranya Chidura's avatar Saranya Chidura
Browse files

coresight: tmc: Fix the unbalanced lock in tmc_read()



'commit 734aabed17090 ("coresight: tmc: Fix use after free issue
with tmc read")' adds lock in tmc_read() to fix race condition seen in
reading tmc buffer and enabling the device.But commit has unbalanced
lock. This patch fixes the lock.

Change-Id: Iaf3ecd83ef5af346725885ea2c84c4185f1a1c50
Signed-off-by: default avatarSaranya Chidura <schidura@codeaurora.org>
parent 365fabdd
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