genpd: imx: scu-pd: do not power off console if no_console_suspend
authorPeng Fan <peng.fan@nxp.com>
Mon, 14 Aug 2023 10:41:23 +0000 (18:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Aug 2023 09:33:54 +0000 (11:33 +0200)
commit309864dcf92b76fc601a579adf9eb389e4ca4c5c
tree55df719a0bbbd261b1644de968ee6a9afc316b03
parenta67d780720ff406943d56286bc06aa60c2b59d3a
genpd: imx: scu-pd: do not power off console if no_console_suspend

Do not power off console if no_console_suspend, this will leave
the serial device's corresponding PM domain on during system suspend,
which is useful for debug system suspend.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/genpd/imx/scu-pd.c