From 7865ce89ffb583d82d6a76f7a4299178af10e6ac Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 26 Aug 2023 16:52:56 +0200 Subject: drivers/spi/spi-generic: Fix typo 'useable' -> 'usable'. Change-Id: Iad2e1ef97a5c98ffa6f33806bce5b77722e687e8 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77524 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Eric Lai --- src/drivers/spi/spi-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. */ -- cgit v1.2.3