kernel_optimize_test/drivers/hwtracing
Mathieu Poirier 12dfc9e022 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 <mathieu.poirier@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Robert Walker <robert.walker@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 22:00:17 +02:00
..
coresight coresight: Properly address errors in sink::disable() functions 2019-04-25 22:00:17 +02:00
intel_th intel_th: gth: Fix an off-by-one in output unassigning 2019-03-01 09:20:38 +01:00
stm stm class: Prevent division by zero 2019-02-21 17:44:18 +02:00
Kconfig hwtracing: Add HW tracing support menu 2018-03-29 13:38:10 +03:00