summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-26 16:52:56 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-08-28 03:12:20 +0000
commit7865ce89ffb583d82d6a76f7a4299178af10e6ac (patch)
tree519ec1c3d317a40281860670e75fde95b8b999f7
parent94ffda9b84df382605648c424f81f83be8881332 (diff)
drivers/spi/spi-generic: Fix typo
'useable' -> 'usable'. Change-Id: Iad2e1ef97a5c98ffa6f33806bce5b77722e687e8 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77524 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-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 e6ec7bd8d5..c1ecd67467 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -98,7 +98,7 @@ unsigned int spi_crop_chunk(const struct spi_slave *slave, unsigned int cmd_len,
if (deduct_opcode_len)
cmd_len--;
- /* Subtract command length from useable buffer size. If
+ /* 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. */