aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2010-10-11 05:43:50 -0400
committerChris Ball <cjb@laptop.org>2010-10-23 09:11:16 -0400
commit49e3b5a44f8abd33c8693edc575c6d06a210d778 (patch)
treea68dfc6613a17d1c0eb68d87d63a3562eea26a80 /include/linux/mmc/host.h
parent0f8d8ea64ec7c77ca5beb59534d386fe0235961a (diff)
mmc: refine DDR support
One flaw with DDR support is that MMC core does not inform the driver which DDR mode it has selected. This patch expands the ios->ddr flag to do that. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index c4fb1c5efc44..69ee1ebe4302 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -54,7 +54,8 @@ struct mmc_ios {
54 unsigned char ddr; /* dual data rate used */ 54 unsigned char ddr; /* dual data rate used */
55 55
56#define MMC_SDR_MODE 0 56#define MMC_SDR_MODE 0
57#define MMC_DDR_MODE 1 57#define MMC_1_2V_DDR_MODE 1
58#define MMC_1_8V_DDR_MODE 2
58}; 59};
59 60
60struct mmc_host_ops { 61struct mmc_host_ops {