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 <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220442
Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
Duncan Laurie
2014-09-29 16:59:35 -07:00
committed by chrome-internal-fetch
parent 87762fa699
commit b67eadf702

View File

@@ -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) \