Commit 87d5573b authored by Adrian Hunter's avatar Adrian Hunter Committed by James Toy

Specify MMC capabilities and set the power-saving flag for RX51.

Signed-off-by: default avatarAdrian Hunter <adrian.hunter@nokia.com>
Acked-by: default avatarMatt Fleming <matt@console-pimps.org>
Cc: Ian Molton <ian@mnementh.co.uk>
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Philip Langdale <philipl@overt.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent bc9109b4
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/regulator/machine.h> #include <linux/regulator/machine.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/mmc/host.h>
#include <mach/mcspi.h> #include <mach/mcspi.h>
#include <mach/mux.h> #include <mach/mux.h>
...@@ -102,6 +103,8 @@ static struct twl4030_hsmmc_info mmc[] = { ...@@ -102,6 +103,8 @@ static struct twl4030_hsmmc_info mmc[] = {
.cover_only = true, .cover_only = true,
.gpio_cd = 160, .gpio_cd = 160,
.gpio_wp = -EINVAL, .gpio_wp = -EINVAL,
.power_saving = true,
.caps = MMC_CAP_SD,
}, },
{ {
.name = "internal", .name = "internal",
...@@ -109,6 +112,8 @@ static struct twl4030_hsmmc_info mmc[] = { ...@@ -109,6 +112,8 @@ static struct twl4030_hsmmc_info mmc[] = {
.wires = 8, .wires = 8,
.gpio_cd = -EINVAL, .gpio_cd = -EINVAL,
.gpio_wp = -EINVAL, .gpio_wp = -EINVAL,
.power_saving = true,
.caps = MMC_CAP_MMC | MMC_CAP_NONREMOVABLE,
}, },
{} /* Terminator */ {} /* Terminator */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment