From 957add9d7536f27851c078818f4df23aa95c29b8 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Mon, 18 Oct 2021 10:35:07 +0100 Subject: [PATCH] fiiom3k: adjust power on delay to 80ms OST timer fix (7a5130a277) causes a boot failure on some units, the battery voltage reading needs more time to stabilize. Change-Id: Ic4a9ba90a16fab8ac6d27dbbe7af381f7c810f8f --- firmware/target/mips/ingenic_x1000/fiiom3k/power-fiiom3k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/mips/ingenic_x1000/fiiom3k/power-fiiom3k.c b/firmware/target/mips/ingenic_x1000/fiiom3k/power-fiiom3k.c index 6b1ad2dbb5..55db3f771e 100644 --- a/firmware/target/mips/ingenic_x1000/fiiom3k/power-fiiom3k.c +++ b/firmware/target/mips/ingenic_x1000/fiiom3k/power-fiiom3k.c @@ -77,7 +77,7 @@ void power_init(void) axp_set_charge_current(780); /* Short delay to give power outputs time to stabilize */ - mdelay(5); + mdelay(80); } #ifdef HAVE_USB_CHARGING_ENABLE