From 7145cee9114ef69945f767105c71beda70900d23 Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Fri, 1 Jun 2018 13:58:38 +0900 Subject: [PATCH] [COMMON] media: scaler: fix condition for clk request After 5.0.1 version, clk request setting is supported. Change-Id: Iaf5d476e75ce93746e0c575e189698557b0f3296 Signed-off-by: Janghyuck Kim --- drivers/media/platform/exynos/scaler/scaler-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/scaler/scaler-regs.h b/drivers/media/platform/exynos/scaler/scaler-regs.h index c305a6dc0060..69f1066205e2 100644 --- a/drivers/media/platform/exynos/scaler/scaler-regs.h +++ b/drivers/media/platform/exynos/scaler/scaler-regs.h @@ -192,7 +192,7 @@ static inline void sc_hwset_clk_request(struct sc_dev *sc, bool enable) { - if (sc->version == SCALER_VERSION(5, 0, 1)) + if (sc->version >= SCALER_VERSION(5, 0, 1)) __raw_writel(enable ? 1 : 0, sc->regs + SCALER_CLK_REQ); } -- 2.20.1