[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110819195358.GA18947@n2100.arm.linux.org.uk>
Date: Fri, 19 Aug 2011 20:53:58 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Abhilash K V <abhilash.kv@...com>
Cc: linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, tony@...mide.com, khilman@...com
Subject: Re: [PATCH 4/4] AM3517: Fix suspend-resume sequence
On Fri, Aug 19, 2011 at 05:25:27PM +0530, Abhilash K V wrote:
> This patch fixes the crash seen while resuming with i2c devices
> enabled. This crash was happening because the interface-clocks
> were disabled in the suspend sequence, and not re-enabled on
> resumption.
> The current patch saves the value of the CM_ICLKEN1_CORE register
> before zeroing it out, and restores upon resumption. In AM3517 the
> interface clocks are enabled by the clock module ONLY during
> initialization, so the suspend sequence (in arch/arm/mach-omap2/
> sleep3517.S) has to manually turn it off before executing wfi
> and then back on again on returning from wfi, to ensure that all
> interface clocks are enabled when control returns to omap_sram_idle()
> after waking up from idle.
We don't need to know that your original implementation had a problem and
you fixed it with a later patch. Just roll the two patches together.
When Linus talks about unnecessary churn, this is one of the reasons it
happens. Please change your workflow to reduce the amount of changes
done - especially when you're submitting patches which create entirely
new files.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists