Thread (6 messages) 6 messages, 2 authors, 2012-11-06

[RFC/PATCH] mmc: omap_hsmmc: introduce omap_hsmmc_prepare/complete

From: Venkatraman S <hidden>
Date: 2012-10-26 11:15:17
Also in: linux-mmc, linux-omap

On Thursday 25 October 2012 11:34 PM, Felipe Balbi wrote:
Hi,

On Mon, Oct 22, 2012 at 04:27:08PM +0300, Felipe Balbi wrote:
quoted
On Mon, Oct 22, 2012 at 03:59:28PM +0300, Felipe Balbi wrote:
quoted
prepare() is supposed to prevent new children from
being registered. On the MMC subsystem, children
(new cards) registration starts with the card
detect IRQ.

Move card detect IRQ disabling to prepare() so that
no new cards will be registered while we're trying
to suspend.

Likewise, move card detect IRQ enabling to complete()
so we only try to register new children after our MMC
IP is back up.

Signed-off-by: Felipe Balbi <redacted>
---

Venkat, do you think the patch below makes sense ?
btw, just checked suspend to ram with beagle and panda. We still have
our filesystem after waking up.

ps: you will [1] to test it:

[1] http://marc.info/?l=linux-arm-kernel&m=135090724817604&w=2
ping
I've been off for the past 3 days. Will test this on Monday once I'm 
back in office.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help