firmware: imx: scu-pd: fix cm40 power domain
authorPeng Fan <peng.fan@nxp.com>
Fri, 5 Jun 2020 01:59:30 +0000 (09:59 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 23 Jun 2020 07:37:41 +0000 (15:37 +0800)
The postfix needs to be false. Alought compiler use 0 for postfix now,
and take start_from as 0, it is better we add explicit false to postfix.

Fixes: 705dcca91d0a("firmware: imx: scu-pd: add power domain for I2C and INTMUX in CM40 SS")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/scu-pd.c

index fb5523aa16eec224dc424d69d932db38bbae5646..d1b313fa7b968bb9f04238186f7ca60b81d2773f 100644 (file)
@@ -167,8 +167,8 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
        { "dc0-pll", IMX_SC_R_DC_0_PLL_0, 2, true, 0 },
 
        /* CM40 SS */
-       { "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, 0 },
-       { "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, 0 },
+       { "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 },
+       { "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, false, 0 },
 };
 
 static const struct imx_sc_pd_soc imx8qxp_scu_pd = {