From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Mon, 24 Oct 2011 10:36:32 +0100 Subject: [PATCH] mmc: mmci: Improve runtime PM support In-Reply-To: References: <1319210754-22775-1-git-send-email-ulf.hansson@stericsson.com> <20111021173637.GG21648@n2100.arm.linux.org.uk> Message-ID: <20111024093632.GH9893@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sun, Oct 23, 2011 at 02:31:39AM +0200, Sebastian Rasmussen wrote: > I guess the patch would appeal more to Russell if mmci_runtime_suspend() > only cleared MCIMask0/SDI_MASK0 and MCIClock/SDI_CLKCR and left > MCIPower/SDI_PWR unchanged. It may be the case that the signal direction > bits need to be cleared for the ST-Ericsson PL180, but I haven't yet verified > this on my Snowball dev board yet. There's also the issue that the specs call for the clock to run after a command has completed for a certain number of cycles, and that the clock must continue to run until the card reports not-busy after a programming or erase cycle has completed - that can be long after the previous command has 'completed'.