MLK-17490-2 drm/imx: dec400d: fix wrong path to define 'dcss_dec400d_write()'
authorFancy Fang <chen.fang@nxp.com>
Thu, 1 Feb 2018 11:22:07 +0000 (19:22 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
The macro 'USE_CTXLD' usage in function 'dcss_dec400d_write()'
is opposite to the real defintion path.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/gpu/imx/dcss/dcss-dec400d.c

index acd1221..435cc77 100644 (file)
@@ -50,7 +50,7 @@ static void dcss_dec400d_write(struct dcss_dec400d_priv *dec400d,
                               uint32_t value,
                               uint32_t offset)
 {
-#if USE_CTXLD
+#if !USE_CTXLD
        dcss_writel(value, dec400d->dec400d_reg + offset);
 #else
        dcss_ctxld_write(dec400d->dcss, dec400d->ctx_id,