From 003113ee504304addd1f6e3ad8c60edfdf1bf3eb Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Wed, 13 Nov 2013 07:38:28 -0800 Subject: spring: set lower bound of ILIM to 3 Amps We are back at the initial setting ... Signed-off-by: Vincent Palatin BRANCH=none BUG=none TEST=none Change-Id: I2af2ea60920d64ba6b855d7da24fc8f5bdaff6da Reviewed-on: https://chromium-review.googlesource.com/176723 Commit-Queue: Vincent Palatin Tested-by: Vincent Palatin Reviewed-by: Simon Arscott --- board/spring/usb_charging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/spring/usb_charging.c b/board/spring/usb_charging.c index b4d94664ba..499874e8d5 100644 --- a/board/spring/usb_charging.c +++ b/board/spring/usb_charging.c @@ -61,7 +61,7 @@ #define I_LIMIT_3000MA 0 /* lower bound for PWM duty cycle : max charger current */ -#define I_LIMIT_MAX MA_TO_PWM(2500) +#define I_LIMIT_MAX I_LIMIT_3000MA /* PWM control loop parameters */ #define PWM_CTRL_MAX_DUTY I_LIMIT_100MA /* Minimum current */ -- cgit v1.2.1