summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/sdio.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-03-05 13:43:34 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 11:26:37 -0800
commit6b5eda369ac3772dad416ef96d86064204d74770 (patch)
treecf137f4f28c62d8e8d1683590048b75830c1e9a2 /include/linux/mmc/sdio.h
parent40216842dca4fa485cb1aa5eb231149a4a57cc85 (diff)
downloadop-kernel-dev-6b5eda369ac3772dad416ef96d86064204d74770.zip
op-kernel-dev-6b5eda369ac3772dad416ef96d86064204d74770.tar.gz
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 47ba464..0ebaef5 100644
--- a/include/linux/mmc/sdio.h
+++ b/include/linux/mmc/sdio.h
@@ -95,6 +95,8 @@
#define SDIO_BUS_WIDTH_1BIT 0x00
#define SDIO_BUS_WIDTH_4BIT 0x02
+#define SDIO_BUS_ASYNC_INT 0x20
+
#define SDIO_BUS_CD_DISABLE 0x80 /* disable pull-up on DAT3 (pin 1) */
#define SDIO_CCCR_CAPS 0x08
OpenPOWER on IntegriCloud