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

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

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



Backport: change in coresight-dynamic-replicator.c instead of
coresight-replicator.c.

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 372697412e921ae550a2da485526aeb3abee955d
 https://git.linaro.org/kernel/coresight.git

 next)

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