coresight: etm3x: set progbit to stop trace collection
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 18 Feb 2016 00:51:53 +0000 (17:51 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:31:21 +0000 (15:31 -0600)
commit9e977106258d578d7b9d29251084a43e025a914d
tree10e48d0f575b9d712f77844c19ca8bb7aef4a702
parent877324a46672c3bf72a423fcd9b257642f29a50e
coresight: etm3x: set progbit to stop trace collection

There is no need to use the event enable's "always false" event to
stop trace collection.  For that purpose setting the programming bit
(ETMCR:10) is enough.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 47cd066cd00a65902ee3bd57da5bd395cb83aff9)
drivers/hwtracing/coresight/coresight-etm3x.c