From b67eadf7029198224cd59abb85b210fdd326e268 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 29 Sep 2014 16:59:35 -0700 Subject: [PATCH] samus: Increase ALS task size Sometimes I2C1 is wedging and this can cause the ALS task to overflow its stack. As a temporary measure to stop the random reboots increase the ALS task size. BUG=chrome-os-partner:32471 BRANCH=samus TEST=build and boot on samus with stuck I2C1 taskinfo before (after fresh reboot): 2 ALS 00000000 0.001012 364/384 taskinfo after (notice it is >384 after some time): 2 ALS 00000000 0.031586 400/512 Change-Id: I04e9b93d3cc60afd3303eb4610c81952f365b992 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/220442 Reviewed-by: Alec Berg --- board/samus/ec.tasklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samus/ec.tasklist b/board/samus/ec.tasklist index 8db07e8c8b..f59ca73403 100644 --- a/board/samus/ec.tasklist +++ b/board/samus/ec.tasklist @@ -18,7 +18,7 @@ */ #define CONFIG_TASK_LIST \ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ - TASK_NOTEST(ALS, als_task, NULL, SMALLER_TASK_STACK_SIZE) \ + TASK_NOTEST(ALS, als_task, NULL, TASK_STACK_SIZE) \ TASK_NOTEST(LIGHTBAR, lightbar_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(MOTIONSENSE, motion_sense_task, NULL, LARGER_TASK_STACK_SIZE) \