[PATCH V2 01/15] coresight: tmc: modifying naming convention

Suzuki K Poulose Suzuki.Poulose at arm.com
Thu Apr 14 10:01:12 PDT 2016


On 12/04/16 18:54, Mathieu Poirier wrote:
> According to the TMC architectural state machine, the 'stopped'
> state is reached when bit 2 (TMCReady) of the TMC Status register
> turns to '1'.  The code is correct but the naming convention isn't.
>
> The 'Triggered' bit occupies position '1' of the TMC Status register
> and has nothing to do with the indication of the TMC entering the
> stopped state. As such renaming function "tmc_wait_for_triggered()"
> and changing the #define to reflect what the code is really doing.
>
> This patch has no effect other than clarifying the semantic.
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier at linaro.org>

Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>

Suzuki




More information about the linux-arm-kernel mailing list