diff options
author | Suzuki K Poulose | 2021-09-14 11:26:39 +0100 |
---|---|---|
committer | Mathieu Poirier | 2021-10-27 11:45:25 -0600 |
commit | 04a37a174e5697d90c129c286bdb6bbcb516058f (patch) | |
tree | bfc6cd929ad8cc53b20e0d1fac91941cba8be129 /lib/glob.c | |
parent | acee3ef86d5cfda094fa9806935aee45833444e3 (diff) |
coresight: trbe: Unify the enabling sequence
Unify the sequence of enabling the TRBE. We do this from
event_start and also from the TRBE IRQ handler. Lets move
this to a common helper. The only minor functional change
is returning an error when we fail to enable the TRBE.
This should be handled already.
Since we now have unique entry point to trying to enable TRBE,
move the format flag setting to the central place.
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20210914102641.1852544-9-suzuki.poulose@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions