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:Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by:
Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20190829202842.580-5-mathieu.poirier@linaro.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (Upstream commit 5774a34fc802dbec0c1e7afd0c6737a0233e64ec). Bug: 140266694 Change-Id: Iad3ac7f986c808948f979e4e1fcb3197e3244081 Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment