Skip to content

Commit 00bc807

Browse files
coresight: tmc: clearly define number of transfers per burst
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)
1 parent 8356894 commit 00bc807

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/hwtracing/coresight/coresight-tmc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
#define TMC_AXICTL_PROT_CTL_B0 BIT(0)
6868
#define TMC_AXICTL_PROT_CTL_B1 BIT(1)
6969
#define TMC_AXICTL_SCT_GAT_MODE BIT(7)
70-
#define TMC_AXICTL_WR_BURST_LEN 0xF00
70+
#define TMC_AXICTL_WR_BURST_16 0xF00
7171
/* TMC_FFCR - 0x304 */
7272
#define TMC_FFCR_EN_FMT BIT(0)
7373
#define TMC_FFCR_EN_TI BIT(1)
@@ -211,7 +211,7 @@ static void tmc_etr_enable_hw(struct tmc_drvdata *drvdata)
211211
writel_relaxed(TMC_MODE_CIRCULAR_BUFFER, drvdata->base + TMC_MODE);
212212

213213
axictl = readl_relaxed(drvdata->base + TMC_AXICTL);
214-
axictl |= TMC_AXICTL_WR_BURST_LEN;
214+
axictl |= TMC_AXICTL_WR_BURST_16;
215215
writel_relaxed(axictl, drvdata->base + TMC_AXICTL);
216216
axictl &= ~TMC_AXICTL_SCT_GAT_MODE;
217217
writel_relaxed(axictl, drvdata->base + TMC_AXICTL);

0 commit comments

Comments
 (0)