diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2021-08-17 12:49:11 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-17 21:43:56 +0000 |
commit | 6c744430d9d4217958baec91c368b1c577ec9a9e (patch) | |
tree | 21db67dc9b75f6e9f4203c9ee273fbbc37decae6 /board/coachz/ec.tasklist | |
parent | 26226558f72567e8229d00e8890e2ed270b7b475 (diff) | |
download | chrome-ec-6c744430d9d4217958baec91c368b1c577ec9a9e.tar.gz |
CoachZ: Disable IRQ from CTN730 in RO
When PCHG isn't enabled in RO, a keyboard is disabled until another
USB device is plugged.
This patch restores PCHG in RO but disables it by assigning an
invalid value to the IRQ signal (GPIO_IH_COUNT). A PCHG task
will be started but will not run because there will be no event.
BUG=b:193223400, b:173235954
BRANCH=trogdor
TEST=On CoachZ, stylus charges in normal mode and doesn't charge in
recovery mode.
Change-Id: Icb5702474ac5ef74119455ab4879447cb7a963e4
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3100491
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/coachz/ec.tasklist')
-rw-r--r-- | board/coachz/ec.tasklist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coachz/ec.tasklist b/board/coachz/ec.tasklist index 819bdb23f1..dc5b32b4cf 100644 --- a/board/coachz/ec.tasklist +++ b/board/coachz/ec.tasklist @@ -9,7 +9,7 @@ #define CONFIG_TASK_LIST \ TASK_ALWAYS(HOOKS, hook_task, NULL, ULTRA_TASK_STACK_SIZE) \ - TASK_ALWAYS_RW(PCHG, pchg_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(PCHG, pchg_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(USB_CHG_P0, usb_charger_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(USB_CHG_P1, usb_charger_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(CHIPSET, chipset_task, NULL, ULTRA_TASK_STACK_SIZE) \ |