summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@chromium.org>2019-07-11 12:48:35 +0800
committerCommit Bot <commit-bot@chromium.org>2019-09-17 14:56:58 +0000
commitbb5d21d349efbc12fa5596a811a241508621e64d (patch)
tree1663fb2c1de1e88b8e784f1b27cd29ab1855cf8a
parent6b74ac1f7bbda42d0e6715f350ab7bf1493d70b7 (diff)
downloadchrome-ec-bb5d21d349efbc12fa5596a811a241508621e64d.tar.gz
audio_codec: replace legacy console channel
CC_WOV is going to be replaced by CC_AUDIO_CODEC. BRANCH=none BUG=b:122027734, b:123268236 TEST=make BOARD=npcx7_evb -j Change-Id: Ib263375c02b69a82eb97ef0a7b9ede4571104af1 Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1697886 Commit-Queue: Sean Abraham <seanabraham@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--chip/npcx/wov.c4
-rw-r--r--include/console_channel.inc3
2 files changed, 2 insertions, 5 deletions
diff --git a/chip/npcx/wov.c b/chip/npcx/wov.c
index 15d442a142..4a9012636a 100644
--- a/chip/npcx/wov.c
+++ b/chip/npcx/wov.c
@@ -25,8 +25,8 @@
#define CPUTS(...)
#define CPRINTS(...)
#else
-#define CPUTS(outstr) cputs(CC_WOV, outstr)
-#define CPRINTS(format, args...) cprints(CC_WOV, format, ## args)
+#define CPUTS(outstr) cputs(CC_AUDIO_CODEC, outstr)
+#define CPRINTS(format, args...) cprints(CC_AUDIO_CODEC, ## args)
#endif
/* WOV FIFO status. */
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 21059fc64e..3b8471ca07 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -112,7 +112,4 @@ CONSOLE_CHANNEL(CC_USBCHARGE, "usbcharge")
CONSOLE_CHANNEL(CC_USBPD, "usbpd")
#endif
CONSOLE_CHANNEL(CC_VBOOT, "vboot")
-#ifdef CONFIG_WAKE_ON_VOICE
-CONSOLE_CHANNEL(CC_WOV, "wov")
-#endif
CONSOLE_CHANNEL(CC_HOOK, "hook")