From 70a15e1a3c58ee841415c84170b80a3859027686 Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Mon, 25 Aug 2014 12:28:20 +0200 Subject: [PATCH] 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-format-patch failed