coresight: configuring ETF in FIFO mode when acting as link
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 3 May 2016 17:34:00 +0000 (11:34 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 21:59:30 +0000 (14:59 -0700)
commitdc2c4ef141c5c14cb8d968ba16c74b4f3c373e2c
treeeb3bf01e1441345ecdbf101b4197a6fd596687cc
parent2e499bbc1a929ac87dcb9832d11000fc055f8bc6
coresight: configuring ETF in FIFO mode when acting as link

When part of a path but not identified as a sink, the EFT has to
be configured as a link and placed in HW FIFO mode.  As such when
enabling a path, call the right configuration function based on
the role the ETF if playing in this trace run.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight.c