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

Skip to content
Commit cebca729 authored by Wei Yongjun's avatar Wei Yongjun Committed by Yabin Cui
Browse files

BACKPORT:FROMGIT: coresight: funnel: Fix missing spin_lock_init()



Backport: context code is different from upstream.

The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.

This is detected by Coccinelle semantic patch.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Tested-by: default avatarYabin Cui <yabinc@google.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>

(cherry picked from commit 9d5ec2ec787967f16598094de507a60816378fae
 https://git.linaro.org/kernel/coresight.git

 next)

Bug: 140266694
Change-Id: If774a5343da0abd63f89336fb848f8ce3b6dd132
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 32157725
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