]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm4x: improve clarity of etm4_os_unlock comment
authorAndrew Murray <andrew.murray@arm.com>
Thu, 29 Aug 2019 20:28:37 +0000 (14:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 20:01:17 +0000 (22:01 +0200)
commit102d24d5e6558b03ffaafaf10e5e4d39ce635dbb
treeed46af23d946bc13e8d38e9f22ae428de3af9bd2
parent87260cdad8c45d32d2c318e5108bbe6932f7039a
coresight: etm4x: improve clarity of etm4_os_unlock comment

To improve clarity, let's update the comment for etm4_os_unlock
to use the name of the register as per the ETM architecture
specification.

The existing comment is also misleading as it suggests any value
written to TRCOSLAR unlocks the trace registers, however it must
be '0' - let's also correct this.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20190829202842.580-13-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x.c