Revert "s5pc210: universal: Fix ADC read error"
authorDonggeun Kim <dg77.kim@samsung.com>
Tue, 31 Aug 2010 09:38:35 +0000 (18:38 +0900)
committerDonggeun Kim <dg77.kim@samsung.com>
Tue, 31 Aug 2010 09:38:35 +0000 (18:38 +0900)
This reverts commit a249ed1d6af54db1199cc845734e97d8e2c306ac.

board/samsung/universal_c210/universal.c

index 05c6d3f..f92de4c 100644 (file)
@@ -773,12 +773,12 @@ static unsigned int get_hw_revision(void)
 {
        int hwrev = 0, mode0, mode1;
 
-       run_command("pmic ldo 8 on", 0);
+       run_command("pmic ldo 4 on", 0);
 
        mode0 = get_adc_value(1);               /* HWREV_MODE0 */
        mode1 = get_adc_value(2);               /* HWREV_MODE1 */
 
-       run_command("pmic ldo 8 off", 0);
+       run_command("pmic ldo 4 off", 0);
 
 #define IS_RANGE(x, min, max)  ((x) > (min) && (x) < (max))
        if (IS_RANGE(mode0, 80, 100) && IS_RANGE(mode1, 80, 100))