[PATCH v2 0/2] coresight: Allow sharing of STM

From: Suzuki K Poulose
Date: Wed Mar 29 2017 - 12:34:04 EST


This series fixes the coresight generic layer to handle the reference
counting for the STM source properly, to allow multiple applications
to share the STM. Without this series, the STM is disabled when the
first user closes its connection, causing trace data losses.


Changes since v1:
- Fixed minor coding style issues

Suzuki K Poulose (2):
coresight: Disable the path only when the source is disabled
coresight: Fix reference count for software sources

drivers/hwtracing/coresight/coresight.c | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)

--
2.7.4