summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-Ta Lin <itspeter@google.com>2017-07-18 15:42:33 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-07-19 14:41:23 -0700
commit8288cea242f895ce65645c917f89b0844653d11a (patch)
treefe0f8ea4283604d5f57453d33f9c1b36861de0d0
parenta6060f53ee2c2736031b5fea80884886c6e08816 (diff)
downloadchrome-ec-8288cea242f895ce65645c917f89b0844653d11a.tar.gz
hammer: adjust stack size for trackpad task
Current stack size is so well-calculated that printing debug message will cause stack overflow and triger reboots. BRANCH=none BUG=none TEST=make BOARD=hammer Change-Id: If90a4d99181e1e08b7ff69e12b5d54a19455cea9 Signed-off-by: Chun-Ta Lin <itspeter@google.com> Reviewed-on: https://chromium-review.googlesource.com/575116 Commit-Ready: Chun-ta Lin <itspeter@chromium.org> Tested-by: Chun-ta Lin <itspeter@chromium.org> Reviewed-by: Che-yu Wu <cheyuw@google.com> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--board/hammer/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hammer/ec.tasklist b/board/hammer/ec.tasklist
index 0cbc39dbf6..71ecd36606 100644
--- a/board/hammer/ec.tasklist
+++ b/board/hammer/ec.tasklist
@@ -19,6 +19,6 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1280) \
TASK_ALWAYS (HOOKS, hook_task, NULL, 2048) \
- TASK_ALWAYS_RW(TOUCHPAD, elan_tp_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS_RW(TOUCHPAD, elan_tp_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS (CONSOLE, console_task, NULL, 1024) \
TASK_NOTEST_RW(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE)