fix-correct-huge-text-alloc-in-gta01.patch

From: warmcat <[EMAIL PROTECTED]>

From: Andy Green <[EMAIL PROTECTED]>

Whoops voltage is slightly off

Applies on top of fix-huge-text-alloc-in-gta01.patch

Signed-off-by: Andy Green <[EMAIL PROTECTED]>
---

 arch/arm/mach-s3c2410/mach-gta01.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index 72fb985..d923631 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -400,7 +400,7 @@ static void gta01_mmc_set_power(unsigned char power_mode, unsigned short vdd)
 			break;
 		case MMC_POWER_ON:
 			/* translate MMC_VDD_* VDD bit to mv */
-			for (bit = 7; bit != 24; bit++)
+			for (bit = 8; bit != 24; bit++)
 				if (vdd == (1 << bit))
 					mv += 100 * (bit - 4);
 			pcf50606_voltage_set(pcf50606_global,

Reply via email to