From 197d20a357d6a8840b26577c6ed2764493f96b8b Mon Sep 17 00:00:00 2001 From: Sven Rebhan Date: Sun, 23 Aug 2009 17:17:23 +0200 Subject: Fix max voltage of LDO1 This patch fixes a typo in the voltage setting of LDO1. In the function mangle_pmu_pdata_by_system_rev() the value of min_uV is set twice, while the value of max_uV stays at the initialized value. This leaves us with .constraints.min_uV = 3300000 and .constraints.max_uV = 1300000, which is probably not what we want. This patch is only required on andy-tracking. Signed-off-by: Sven Rebhan --- arch/arm/mach-s3c2442/mach-gta02.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index 5de85c01893..e4f052595bd 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c @@ -727,7 +727,7 @@ static void mangle_pmu_pdata_by_system_rev(void) reg_init_data[PCF50633_REGULATOR_LDO1] .constraints.min_uV = 3300000; reg_init_data[PCF50633_REGULATOR_LDO1] - .constraints.min_uV = 3300000; + .constraints.max_uV = 3300000; reg_init_data[PCF50633_REGULATOR_LDO1] .constraints.state_mem.enabled = 0; -- cgit v1.2.3