sdio: kick the interrupt thread upon a resume
authorNicolas Pitre <nico@fluxnic.net>
Fri, 5 Mar 2010 21:43:34 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:37 +0000 (11:26 -0800)
commit40216842dca4fa485cb1aa5eb231149a4a57cc85
tree25e51613412e3c8188d6476ec886a2f844d51714
parent3bca4cf703826fcb2bbabbe19c6fc7b2fc4fd7cc
sdio: kick the interrupt thread upon a resume

Some SDIO cards may suspend while keeping function interrupts active
especially in the powered suspend case.  Upon resume we need to kick the
SDIO interrupt thread to check for pending interrupts and to restart card
IRQ detection at the host controller level.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/sdio.c