aboutsummaryrefslogtreecommitdiff
path: root/linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-12-31 16:25:21 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-12-31 16:25:21 +0100
commit91e51701b30a09790b1420a3a5298221e6eb4384 (patch)
treeb0f4186da035bca6c7e538a6c400e229f6ce0229 /linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch
parent148eb8573585c694c6f259d4233631091a2b00c2 (diff)
downloadbuildroot-n35-91e51701b30a09790b1420a3a5298221e6eb4384.tar.gz
buildroot-n35-91e51701b30a09790b1420a3a5298221e6eb4384.tar.bz2
buildroot-n35-91e51701b30a09790b1420a3a5298221e6eb4384.zip
Import patches from Jiri Pinkava
Diffstat (limited to 'linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch')
-rw-r--r--linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch b/linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch
new file mode 100644
index 0000000..e8b94e0
--- /dev/null
+++ b/linux/3.1.6/0004-n30-Fix-MMC-power-management-on-Acer-n30-n35.patch
@@ -0,0 +1,31 @@
+From 157e2a1dbbcb9a7144ad9d776db45a15769406f9 Mon Sep 17 00:00:00 2001
+From: Jiri Pinkava <jiri.pinkava@vscht.cz>
+Date: Mon, 24 May 2010 10:04:57 +0200
+Subject: [PATCH 04/14] n30: Fix MMC power management on Acer n30 / n35
+
+Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
+---
+ arch/arm/mach-s3c2410/mach-n30.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
+index 895e1e9a..ecc039a 100644
+--- a/arch/arm/mach-s3c2410/mach-n30.c
++++ b/arch/arm/mach-s3c2410/mach-n30.c
+@@ -366,11 +366,11 @@ static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd)
+ switch (power_mode) {
+ case MMC_POWER_ON:
+ case MMC_POWER_UP:
+- gpio_set_value(S3C2410_GPG(4), 1);
++ gpio_set_value(S3C2410_GPG(4), 0);
+ break;
+ case MMC_POWER_OFF:
+ default:
+- gpio_set_value(S3C2410_GPG(4), 0);
++ gpio_set_value(S3C2410_GPG(4), 1);
+ break;
+ }
+ }
+--
+1.7.3.1
+