From: Jacky Bai Date: Fri, 21 May 2021 07:59:44 +0000 (+0800) Subject: LF-3830 Revert "MLK-21499 arm: imx: put pads into OFF state before entering VLLS" X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~68 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=fc4b0a683d396826af5c25aa095912f268acc633;p=linux.git LF-3830 Revert "MLK-21499 arm: imx: put pads into OFF state before entering VLLS" This reverts commit 6bec1553aaf630b80c9239d8895d423843f31801. Put all the pads into off mode have side effect if the pad used for GPIO interrupt. system suspend/resume will be broken, We can not add it in our generic release. Signed-off-by: Jacky Bai Acked-by: Jason Liu --- diff --git a/arch/arm/mach-imx/pm-imx7ulp.c b/arch/arm/mach-imx/pm-imx7ulp.c index 0a7f7eb1fe95..7e17c7a43ce3 100644 --- a/arch/arm/mach-imx/pm-imx7ulp.c +++ b/arch/arm/mach-imx/pm-imx7ulp.c @@ -370,10 +370,6 @@ static inline void imx7ulp_iomuxc_save(void) pm_info->select_input_val[i] = readl_relaxed(iomuxc1_base + SELECT_INPUT_START + i * 0x4); - - /* Put all the PADs to OFF state */ - for (i = 0; i < pm_info->iomux_num; i++) - writel_relaxed(0, (iomuxc1_base + IOMUX_START + i * 0x4)); } static void imx7ulp_lpuart_save(void)