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

Skip to content
Commit 96214c0b authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Yabin Cui
Browse files

BACKPORT: coresight: etr_buf: Consolidate refcount initialization



Backport: dev_dbg() in context code is different from upstream.

We now use refcounts for the etr_buf users. Let us initialize it
while we allocate it.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20190829202842.580-5-mathieu.poirier@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(Upstream commit 5774a34fc802dbec0c1e7afd0c6737a0233e64ec).

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