diff options
| author | Mathieu Poirier <[email protected]> | 2019-04-25 13:52:57 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-04-25 22:00:17 +0200 |
| commit | 12dfc9e022aa4e8768d127416bf841c169f8c57e (patch) | |
| tree | 0e669182d2f99a20a30fb936a194fd8c49c17e18 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | f973d88b75703719d39c4d5145079199aaf442b2 (diff) | |
coresight: Properly address errors in sink::disable() functions
When disabling a sink the reference counter ensures the operation goes
through if nobody else is using it. As such if drvdata::mode is already
set do CS_MODE_DISABLED, it is an error and should be reported as such.
Signed-off-by: Mathieu Poirier <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Tested-by: Leo Yan <[email protected]>
Tested-by: Robert Walker <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions