summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
Diffstat (limited to 'power')
-rw-r--r--power/tegra.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/power/tegra.c b/power/tegra.c
index cbf6f13ff0..1d7b24cb28 100644
--- a/power/tegra.c
+++ b/power/tegra.c
@@ -25,6 +25,7 @@
*
*/
+#include "battery.h"
#include "charge_state.h"
#include "chipset.h" /* This module implements chipset functions too */
#include "clock.h"
@@ -263,6 +264,12 @@ enum power_state power_chipset_init(void)
auto_power_on = 1;
}
+ /*
+ * Some batteries use clock stretching feature, which requires
+ * more time to be stable. See http://crosbug.com/p/28289
+ */
+ battery_wait_for_stable();
+
return init_power_state;
}