From 51174d6d0d00f4a7fd49813cae9111cbee8d132e Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Wed, 23 Dec 2009 14:56:37 +0900 Subject: [PATCH] s5pc110: aquila: battery: reset correctly Signed-off-by: Minkyu Kang --- board/samsung/universal/universal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index 867c01a..bb4ac81 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -892,8 +892,8 @@ static void enable_battery(void) return; } - val[0] = 0x00; - val[1] = 0x54; + val[0] = 0x54; + val[1] = 0x00; i2c_write(addr, 0xfe, 1, val, 2); } @@ -1764,15 +1764,15 @@ int misc_init_r(void) /* check max8998 */ init_pmic(); - /* check max17040 */ - check_battery(); - #ifdef CONFIG_S5PC1XXFB display_device_info(); #endif setup_power_down_mode_registers(); + /* check max17040 */ + check_battery(); + /* check fsa9480 */ check_micro_usb(0); -- 2.7.4