wifipineapple-openwrt/target/linux/s3c24xx/patches-2.6.26/1220-fix-glamo-mci-set-defa...

36 lines
1.0 KiB
Diff
Executable File

From 8d308488028a326be1180b20b83b6384cd7eaf42 Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Fri, 25 Jul 2008 23:06:20 +0100
Subject: [PATCH] fix-glamo-mci-set-default-drive-level-0.patch
Tests on access to SD Card with Glamo drive level "0" show
that it reduces SD_CLK energy at 1.5GHz by 24dBm compared to
drive level 3. This puts it only 6dB above the background
noise floor compared to 30dB and should make a solution for
GPS trouble with SD Card in.
SD card communication seems unaffected so far on the Sandisk
512MB card we ship.
Signed-off-by: Andy Green <andy@openmoko.com>
---
drivers/mfd/glamo/glamo-mci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
index 4615033..0374446 100644
--- a/drivers/mfd/glamo/glamo-mci.c
+++ b/drivers/mfd/glamo/glamo-mci.c
@@ -66,7 +66,7 @@ module_param(sd_max_clk, int, 0644);
* for example
*/
-static int sd_drive = 2;
+static int sd_drive;
module_param(sd_drive, int, 0644);
/*
--
1.5.6.3