aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/0220-fix-glamo-mci-set-default-drive-level-0.patch.patch
blob: d1013b9280df4afbe0e9fecbd8d383eb7ade1631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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