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

Commit ea6e516f 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.

(Upstream commit 5774a34fc802dbec0c1e7afd0c6737a0233e64ec).

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>

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