summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2023-03-15 17:38:25 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-15 22:28:08 +0000
commitfe14c338c7837f649441a637665ac5ccc97dbd5f (patch)
tree1e9691f8293d80c5118cd99c7b38e274a9da7066 /test
parentbf1232c2b16696c1f36b94ad3d412c743009320e (diff)
downloadchrome-ec-fe14c338c7837f649441a637665ac5ccc97dbd5f.tar.gz
usb_charger: support processing events synchronously
Some hardware topologies require that high-priority tasks be able to process BC1.2 interrupts at higher priority than the BC1.2 task runs at, but increasing the priority of the BC1.2 task may not be appropriate. This adds a synchronous version of usb_charger_task_set_event suitable for those devices' needs. BUG=b:269064073 TEST=Nissa devices using the new function on shared USB-C IRQs no longer experience priority inversion that sometimes causes incorrect behavior. BRANCH=nissa Change-Id: I191fb0500c3d793d521168b37e9e8ed3fdd28473 Signed-off-by: Peter Marheine <pmarheine@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4339477 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions