summaryrefslogtreecommitdiff
path: root/src/drivers/spi/spi-generic.c
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-09-04 15:37:07 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-12-13 10:42:30 +0000
commit3e25f85d68d10249473d422c4c19dc30ea55e8b0 (patch)
tree0fb6767dfe8334c455ccd8d3dace51bf02664932 /src/drivers/spi/spi-generic.c
parent3933ed5e5a73898becc80dccc35a58a158f8899e (diff)
drivers/ipmi to lib: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I926ec4c1c00339209ef656995031026935e52558 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77637 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/spi/spi-generic.c')
-rw-r--r--src/drivers/spi/spi-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/spi-generic.c b/src/drivers/spi/spi-generic.c
index ef7438ed5f..f45ec25dcb 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -101,7 +101,7 @@ unsigned int spi_crop_chunk(const struct spi_slave *slave, unsigned int cmd_len,
/* Subtract command length from usable buffer size. If
deduct_opcode_len is set, only subtract the number command bytes
after the opcode. If the adjusted cmd_len is larger than ctrlr_max
- return 0 to inidicate an error. */
+ return 0 to indicate an error. */
if (deduct_cmd_len) {
if (ctrlr_max >= cmd_len) {
ctrlr_max -= cmd_len;