From: Janghyuck Kim Date: Fri, 1 Jun 2018 04:58:38 +0000 (+0900) Subject: [COMMON] media: scaler: fix condition for clk request X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7145cee9114ef69945f767105c71beda70900d23;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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); }