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)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:46:43 +0000 (15:46 -0600)
commit6d1fcd0f0e7b17b4c9e4eaf0a61072b467110692
treea48d09a55f0626ea651517711e19bca6a081ab6b
parent2686c0577df400e8e78cd97c7f3676d0700dde51
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>
(cherry picked from commit dc2c4ef141c5c14cb8d968ba16c74b4f3c373e2c)
drivers/hwtracing/coresight/coresight.c