summaryrefslogtreecommitdiff
path: root/chip/g/sps_tpm.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-24 16:32:19 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-15 17:41:53 -0800
commit897ce78bddb26557a686ab9e756fcf3d6c121271 (patch)
treeedde864d756a6e1133808118b8ae90c323ed4ade /chip/g/sps_tpm.c
parent64b57efebdb311126f3daaa97d49443308507b76 (diff)
downloadchrome-ec-897ce78bddb26557a686ab9e756fcf3d6c121271.tar.gz
Fix various misspellings in comments
No functional changes. BUG=none BRANCH=none TEST=make buildall passes Change-Id: Ie852feb8e3951975d99dce5a49c17f5f0e8bc791 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403417 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'chip/g/sps_tpm.c')
-rw-r--r--chip/g/sps_tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/sps_tpm.c b/chip/g/sps_tpm.c
index 771ae847b1..8658ffc041 100644
--- a/chip/g/sps_tpm.c
+++ b/chip/g/sps_tpm.c
@@ -131,7 +131,7 @@ static void init_new_cycle(void)
enable_sleep(SLEEP_MASK_SPI);
}
-/* Extract R/W bit, register addresss, and data count from 4-byte header */
+/* Extract R/W bit, register address, and data count from 4-byte header */
static int header_says_to_read(uint8_t *data, uint32_t *reg, uint32_t *count)
{
uint32_t addr = data[1]; /* reg address is MSB first */