]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: Add a helper to check if a device is source
authorTao Zhang <quic_taozha@quicinc.com>
Fri, 13 Dec 2024 10:07:29 +0000 (18:07 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 13 Dec 2024 10:25:14 +0000 (10:25 +0000)
commit62374ce1876be26b3f33575680e67ca69a59db54
tree1de43bb8f16e0985caf4120e65875801716a8f12
parent2a0bc219272b7b83916b108b1ec8cc656275e21b
coresight: Add a helper to check if a device is source

Since there are a lot of places in the code to check whether the
device is source, add a helper to check it.

Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20241213100731.25914-3-quic_taozha@quicinc.com
drivers/hwtracing/coresight/coresight-tpda.c
include/linux/coresight.h