From: Ulf Hansson Date: Mon, 25 Aug 2014 10:28:20 +0000 (+0200) Subject: mmc: tmio_mmc: Fixup system PM suspend lock-up X-Git-Tag: fixes-against-v3.18-rc2~127^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a15e1a3c58ee841415c84170b80a3859027686;p=pandora-kernel.git mmc: tmio_mmc: Fixup system PM suspend lock-up At system PM suspend, the tmio core accessed the internal registers of the controller without first moving the device into active state. This caused a lock-up in system PM suspend phase. The reason for the register access were masking of IRQs. Since that is managed via the runtime PM suspend path, let's just re-use that path for system PM suspend. In other words force the device into runtime PM suspend state at system PM suspend and restore it to active state at system PM resume. Reported-by: Geert Uytterhoeven Signed-off-by: Ulf Hansson Acked-by: Geert Uytterhoeven --- Reading git-diff-tree failed