diff options
author | Xia Kaixu <kaixu.xia@linaro.org> | 2015-03-30 14:13:38 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 16:17:03 +0200 |
commit | a0a500efab41c761a1d1fd919d2e42a3a3545b2e (patch) | |
tree | 5307268685cd2b5bb901ac6e98b932b78c567d98 /drivers/coresight | |
parent | b29d5c1f057f583bc15be3d1ec4993e90cc53641 (diff) | |
download | linux-a0a500efab41c761a1d1fd919d2e42a3a3545b2e.tar.bz2 |
coresight: adding the LINKSINK block as a sink type
>From the TMC TRM, the ETF can be configured as buffer mode, so ETF can
be a sink type.
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/coresight')
-rw-r--r-- | drivers/coresight/coresight.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/coresight/coresight.c b/drivers/coresight/coresight.c index c5def9382357..894531d315b8 100644 --- a/drivers/coresight/coresight.c +++ b/drivers/coresight/coresight.c @@ -305,7 +305,9 @@ static int coresight_build_paths(struct coresight_device *csdev, list_add(&csdev->path_link, path); - if (csdev->type == CORESIGHT_DEV_TYPE_SINK && csdev->activated) { + if ((csdev->type == CORESIGHT_DEV_TYPE_SINK || + csdev->type == CORESIGHT_DEV_TYPE_LINKSINK) && + csdev->activated) { if (enable) ret = coresight_enable_path(path); else |