diff --git a/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c b/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c index ee44640edeb5..782e6cd0c8a7 100644 --- a/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c +++ b/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c @@ -383,7 +383,7 @@ static ssize_t mode_store(struct device *dev, /* bit[12], Low-power state behavior override bit */ if ((config->mode & ETM_MODE_LPOVERRIDE) && - (drvdata->lpoverride == true)) + (drvdata->lpoverride == true) && !drvdata->tupwr_disable) config->eventctrl1 |= BIT(12); else config->eventctrl1 &= ~BIT(12);