linux/drivers/hwtracing/coresight
Tingwei Zhang f2ccc7b7bf coresight: cti: Don't disable ect device if it's not enabled
If associated ect device is not enabled at first place, disable
routine should not be called. Add ect_enabled flag to check whether
ect device is enabled. Fix the issue in below case.  Ect device is
not available when associated coresight device enabled and the
association is established after coresight device is enabled.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200928163513.70169-20-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-28 19:47:41 +02:00
..
coresight-catu.c coresight: catu: Use CS_AMBA_ID macro for id table 2020-07-21 15:48:38 +02:00
coresight-catu.h
coresight-cpu-debug.c coresight: cpu_debug: Define MODULE_DEVICE_TABLE 2020-09-28 19:47:40 +02:00
coresight-cti-platform.c Char/Misc driver patches for 5.8-rc1 2020-06-07 10:59:32 -07:00
coresight-cti-sysfs.c coresight: Include required headers in C files 2020-05-19 16:31:18 +02:00
coresight-cti.c coresight: cti: Fix bug clearing sysfs links on callback 2020-09-28 19:47:41 +02:00
coresight-cti.h coresight: Include required headers in C files 2020-05-19 16:31:18 +02:00
coresight-etb10.c coresight: etb: Allow etb to be built as a module 2020-09-28 19:47:41 +02:00
coresight-etm-cp14.c
coresight-etm-perf.c coresight: etm: perf: Fix warning caused by etm_setup_aux failure 2020-09-28 19:47:41 +02:00
coresight-etm-perf.h coresight: Use IS_ENABLED for CONFIGs that may be modules 2020-09-28 19:47:40 +02:00
coresight-etm.h
coresight-etm3x-core.c coresight: etm3x: Allow etm3x to be built as a module 2020-09-28 19:47:41 +02:00
coresight-etm3x-sysfs.c
coresight-etm4x-core.c coresight: etm4x: Allow etm4x to be built as a module 2020-09-28 19:47:41 +02:00
coresight-etm4x-sysfs.c coresight: etm4x: Fix mis-usage of nr_resource in sysfs interface 2020-09-17 18:46:05 +02:00
coresight-etm4x.h coresight: etm4x: Fix number of resources check for ETM 4.3 and above 2020-09-17 18:46:05 +02:00
coresight-funnel.c coresight: funnel: Allow funnel driver to be built as module 2020-09-28 19:47:41 +02:00
coresight-platform.c coresight: fix offset by one error in counting ports 2020-09-17 18:46:04 +02:00
coresight-priv.h coresight: cti: Add function to register cti associate ops 2020-09-28 19:47:41 +02:00
coresight-replicator.c coresight: replicator: Allow replicator driver to be built as module 2020-09-28 19:47:41 +02:00
coresight-stm.c coresight: stm: Allow to build coresight-stm as a module 2020-09-28 19:47:40 +02:00
coresight-sysfs.c coresight: Export global symbols 2020-09-28 19:47:40 +02:00
coresight-tmc-core.c coresight: tmc: Allow tmc to be built as a module 2020-09-28 19:47:41 +02:00
coresight-tmc-etf.c coresight: Add coresight prefix to barrier_pkt 2020-09-28 19:47:40 +02:00
coresight-tmc-etr.c coresight: Export global symbols 2020-09-28 19:47:40 +02:00
coresight-tmc.h coresight: tmc: Add shutdown callback for TMC ETR 2020-07-21 15:48:39 +02:00
coresight-tpiu.c coresight: tpiu: Allow tpiu to be built as a module 2020-09-28 19:47:41 +02:00
coresight.c coresight: cti: Don't disable ect device if it's not enabled 2020-09-28 19:47:41 +02:00
Kconfig coresight: replicator: Allow replicator driver to be built as module 2020-09-28 19:47:41 +02:00
Makefile coresight: tmc: Allow tmc to be built as a module 2020-09-28 19:47:41 +02:00