summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-qup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c
index dec339d51fc8..886edb4f4cb0 100644
--- a/drivers/spi/spi-qup.c
+++ b/drivers/spi/spi-qup.c
@@ -709,7 +709,7 @@ static int spi_qup_pm_suspend_runtime(struct device *device)
/* Enable clocks auto gaiting */
config = readl(controller->base + QUP_CONFIG);
- config |= QUP_CLOCK_AUTO_GATE;
+ config |= QUP_CONFIG_CLOCK_AUTO_GATE;
writel_relaxed(config, controller->base + QUP_CONFIG);
return 0;
}
@@ -722,7 +722,7 @@ static int spi_qup_pm_resume_runtime(struct device *device)
/* Disable clocks auto gaiting */
config = readl_relaxed(controller->base + QUP_CONFIG);
- config &= ~QUP_CLOCK_AUTO_GATE;
+ config &= ~QUP_CONFIG_CLOCK_AUTO_GATE;
writel_relaxed(config, controller->base + QUP_CONFIG);
return 0;
}