提交 70be208f 编写于 作者: U Ulf Hansson 提交者: Russell King

ARM: 7618/1: mmc: mmci: Support MMC_PM_KEEP_POWER

Add MMC_PM_KEEP_POWER to pm_caps so SDIO clients are able
to use this option to prevent power off in suspend.
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 6dbb6ee0
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/mmc/pm.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
#include <linux/mmc/card.h> #include <linux/mmc/card.h>
#include <linux/amba/bus.h> #include <linux/amba/bus.h>
...@@ -1416,6 +1417,9 @@ static int mmci_probe(struct amba_device *dev, ...@@ -1416,6 +1417,9 @@ static int mmci_probe(struct amba_device *dev,
mmc->caps = plat->capabilities; mmc->caps = plat->capabilities;
mmc->caps2 = plat->capabilities2; mmc->caps2 = plat->capabilities2;
/* We support these PM capabilities. */
mmc->pm_caps = MMC_PM_KEEP_POWER;
/* /*
* We can do SGIO * We can do SGIO
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册