summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-11-05 16:27:04 -0800
committerChromeOS bot <3su6n15k.default@developer.gserviceaccount.com>2015-11-10 02:08:28 +0000
commit744a915a3364a996a0738af2d07e409bd259818f (patch)
tree6829a00a5f7353d2ec7cc7630feb3ab6ed651cc9
parentd2b7ebcf5bfccd8fff9d7c3ed5848439c653f12e (diff)
downloadchrome-ec-744a915a3364a996a0738af2d07e409bd259818f.tar.gz
ryu: increase USB_CHG task stack size
the USB_CHG task is running dangerously close to its stack limit: commonly 352/384 bytes, when running sensor heavy code in parallel with USB plug/unplug : 368/384 bytes. As we have free RAM, let's increase the stack size from 384 to 488 bytes. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=b:25510300 TEST=taskinfo after running sensor testing app and plugging/unplugging a zinger. Change-Id: Icb20a40add10b141362cf688680eaeedf975f4e8 Reviewed-on: https://chromium-review.googlesource.com/311300 Reviewed-by: Alec Berg <alecaberg@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/ryu/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ryu/ec.tasklist b/board/ryu/ec.tasklist
index d8ff482cfa..d0c715452f 100644
--- a/board/ryu/ec.tasklist
+++ b/board/ryu/ec.tasklist
@@ -18,7 +18,7 @@
*/
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
- TASK_ALWAYS(USB_CHG, usb_charger_task, NULL, SMALLER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(USB_CHG, usb_charger_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(LIGHTBAR, lightbar_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \