coresight: tmc: clearly define number of transfers per burst
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 3 May 2016 17:33:47 +0000 (11:33 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:46:32 +0000 (15:46 -0600)
This patch makes the name of the define reflect the amount of
data tranfers per burst, in this case 16.

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 ebba56e7b2bd2c9c2bbe02fad8808feef18e1519)

drivers/hwtracing/coresight/coresight-tmc.c

index d211aeec49f8dc7f08065c3ee5b52e71cc164ec6..8751d53fa078d6bf05972d64ddb9f4490203bf77 100644 (file)
@@ -67,7 +67,7 @@
 #define TMC_AXICTL_PROT_CTL_B0 BIT(0)
 #define TMC_AXICTL_PROT_CTL_B1 BIT(1)
 #define TMC_AXICTL_SCT_GAT_MODE        BIT(7)
-#define TMC_AXICTL_WR_BURST_LEN 0xF00
+#define TMC_AXICTL_WR_BURST_16 0xF00
 /* TMC_FFCR - 0x304 */
 #define TMC_FFCR_EN_FMT                BIT(0)
 #define TMC_FFCR_EN_TI         BIT(1)
@@ -211,7 +211,7 @@ static void tmc_etr_enable_hw(struct tmc_drvdata *drvdata)
        writel_relaxed(TMC_MODE_CIRCULAR_BUFFER, drvdata->base + TMC_MODE);
 
        axictl = readl_relaxed(drvdata->base + TMC_AXICTL);
-       axictl |= TMC_AXICTL_WR_BURST_LEN;
+       axictl |= TMC_AXICTL_WR_BURST_16;
        writel_relaxed(axictl, drvdata->base + TMC_AXICTL);
        axictl &= ~TMC_AXICTL_SCT_GAT_MODE;
        writel_relaxed(axictl, drvdata->base + TMC_AXICTL);