summaryrefslogtreecommitdiff
path: root/test/fake_usbc.c
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-07-14 14:48:46 -0700
committerCommit Bot <commit-bot@chromium.org>2020-07-17 02:57:14 +0000
commitdfc32ffc88ca7b9fe95623ee6c715e49c33bec24 (patch)
treeeffcda83c2fc9e3c482fcc0057526474fbf25e83 /test/fake_usbc.c
parent5270ea2b0cfc2ce699281c2e59ffce3546551d7e (diff)
downloadchrome-ec-dfc32ffc88ca7b9fe95623ee6c715e49c33bec24.tar.gz
TCPMv2: Add common function for DPM entry and exit mode
Added a common entry point into DPM for entering or exiting modes. BUG=b:155890173 BRANCH=None TEST=Tested on volteer, able to enter and exit 1. DisplayPort mode with type-C dock 2. Thunderbolt mode with a Thunderbolt dock Signed-off-by: Ayushee <ayushee.shah@intel.com> Change-Id: I3bb996d96d0fff543ad7a2e1dc8e09d0b17d0171 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299840 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/fake_usbc.c')
-rw-r--r--test/fake_usbc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/fake_usbc.c b/test/fake_usbc.c
index 37d1c0bf09..0f92379b38 100644
--- a/test/fake_usbc.c
+++ b/test/fake_usbc.c
@@ -270,11 +270,7 @@ void dpm_set_mode_exit_request(int port)
{
}
-void dpm_attempt_mode_entry(int port)
-{
-}
-
-void dpm_attempt_mode_exit(int port)
+void dpm_run(int port)
{
}