Normally firmware should have no business messing with the USB PD role (source/sink/whatever) in the EC. But, as so often happens, ugly issues crop up that require weird work-arounds, and before you know it you need to do this for some reason that only makes sense in context. I do now, so add this function to send the necessary host command in the simplest possible fashion. BRANCH=gru BUG=chrome-os-partner:59346 TEST=Used it in a follow-up patch. Change-Id: Ie8d0be98f6b703f4db062fe2f728cd2588347202 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/413030 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> |
||
|---|---|---|
| .. | ||
| acpi | ||
| compal/ene932 | ||
| google/chromeec | ||
| kontron/it8516e | ||
| lenovo | ||
| purism/librem | ||
| quanta | ||
| roda/it8518 | ||
| smsc/mec1308 | ||
| ec.h | ||