summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2018-11-29 14:08:06 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-04 00:11:29 -0800
commit27f5840ddd13333176dfebded72cb32703744e10 (patch)
tree133be271735a88aa68e805c49d9db27bcbb3afbe
parente3adb1de782a368aadacad78691ab7a4cd9c9178 (diff)
downloadchrome-ec-27f5840ddd13333176dfebded72cb32703744e10.tar.gz
wov: Fix mispelling of wov_conf right_chan_gain
The struct member right_chan_gain was spelled rigth_chan_gain. BRANCH=none BUG=b:116766596 TEST=make BOARD=cheza Change-Id: I0051ab5442315afbc7b51172a254358d6217b225 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1356181 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Wai-Hong Tam <waihong@google.com>
-rw-r--r--chip/npcx/wov.c2
-rw-r--r--chip/npcx/wov_chip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/wov.c b/chip/npcx/wov.c
index 94cd8251d2..a4f03a25e8 100644
--- a/chip/npcx/wov.c
+++ b/chip/npcx/wov.c
@@ -906,7 +906,7 @@ void wov_init(void)
wov_conf.bit_depth = 16;
wov_conf.mic_src = WOV_SRC_LEFT;
wov_conf.left_chan_gain = 0;
- wov_conf.rigth_chan_gain = 0;
+ wov_conf.right_chan_gain = 0;
wov_conf.i2s_start_delay_0 = 0;
wov_conf.i2s_start_delay_1 = 0;
wov_conf.i2s_clock = 0;
diff --git a/chip/npcx/wov_chip.h b/chip/npcx/wov_chip.h
index bdccb768ff..efd5863975 100644
--- a/chip/npcx/wov_chip.h
+++ b/chip/npcx/wov_chip.h
@@ -205,7 +205,7 @@ struct wov_config {
int bit_depth;
enum wov_mic_source mic_src;
int left_chan_gain;
- int rigth_chan_gain;
+ int right_chan_gain;
uint16_t i2s_start_delay_0;
uint16_t i2s_start_delay_1;
uint32_t i2s_clock;