Thread (1 message) 1 message, 1 author, 2015-06-11

[PATCH v5 3/7] mmc: mediatek: Add PM support for MMC driver

From: chaotian.jing@mediatek.com (Chaotian Jing)
Date: 2015-06-11 01:37:24
Also in: linux-devicetree, linux-gpio, linux-mediatek, linux-mmc

On Wed, 2015-06-10 at 13:59 +0200, Ulf Hansson wrote:
On 10 June 2015 at 04:24, Chaotian Jing [off-list ref] wrote:
quoted
Add PM support for Mediatek MMC driver
Save/restore registers when PM

Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
---
 drivers/mmc/host/mtk-sd.c | 88 +++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 85 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 8de3299..62e966f 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -22,6 +22,7 @@
 #include <linux/of_gpio.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
Add pm.h as well.
OK, will add it.
quoted
+#include <linux/pm_runtime.h>
 #include <linux/regulator/consumer.h>
 #include <linux/spinlock.h>
[...]

Kind regards
Uffe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help