aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/sdio.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-03-05 16:43:34 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 14:26:37 -0500
commit6b5eda369ac3772dad416ef96d86064204d74770 (patch)
treecf137f4f28c62d8e8d1683590048b75830c1e9a2 /include/linux/mmc/sdio.h
parent40216842dca4fa485cb1aa5eb231149a4a57cc85 (diff)
sdio: put active devices into 1-bit mode during suspend
And bring them back to 4-bit mode during resume. Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Nicolas Pitre <nico@marvell.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mmc/sdio.h')
-rw-r--r--include/linux/mmc/sdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio.h b/include/linux/mmc/sdio.h
index 47ba464f5170..0ebaef577ff5 100644
--- a/include/linux/mmc/sdio.h
+++ b/include/linux/mmc/sdio.h
@@ -95,6 +95,8 @@
95#define SDIO_BUS_WIDTH_1BIT 0x00 95#define SDIO_BUS_WIDTH_1BIT 0x00
96#define SDIO_BUS_WIDTH_4BIT 0x02 96#define SDIO_BUS_WIDTH_4BIT 0x02
97 97
98#define SDIO_BUS_ASYNC_INT 0x20
99
98#define SDIO_BUS_CD_DISABLE 0x80 /* disable pull-up on DAT3 (pin 1) */ 100#define SDIO_BUS_CD_DISABLE 0x80 /* disable pull-up on DAT3 (pin 1) */
99 101
100#define SDIO_CCCR_CAPS 0x08 102#define SDIO_CCCR_CAPS 0x08