summaryrefslogtreecommitdiffstats
path: root/ch341a_spi.c
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-03-15 10:55:25 -0600
committerAnastasia Klimchuk <aklm@chromium.org>2022-05-03 05:23:23 +0000
commit0f388acaba981c6c3ebee10528d88e42195f805f (patch)
tree2a951abb04a839e94f5c6640b2b63ea52c6b27cc /ch341a_spi.c
parent005aa915a0c687e8d73a3ed5b52735e8d3faf80a (diff)
downloadflashrom-0f388acaba981c6c3ebee10528d88e42195f805f.tar.gz
flashrom-0f388acaba981c6c3ebee10528d88e42195f805f.tar.bz2
flashrom-0f388acaba981c6c3ebee10528d88e42195f805f.zip
Global cleanup: Fix a few spelling errors
Just a trivial patch to fix a few errors found by codespell. Here's the command I used: codespell -S subprojects,out \ -L fwe,dout,tast,crate,parms,claus,nt,nd,te,truns,trun Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I4e3b277f220fa70dcab21912c30f1d26d9bd8749 Reviewed-on: https://review.coreboot.org/c/flashrom/+/62840 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'ch341a_spi.c')
-rw-r--r--ch341a_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ch341a_spi.c b/ch341a_spi.c
index bc4112b54..3848af951 100644
--- a/ch341a_spi.c
+++ b/ch341a_spi.c
@@ -406,7 +406,7 @@ static int ch341a_spi_shutdown(void *data)
static const struct spi_master spi_master_ch341a_spi = {
.features = SPI_MASTER_4BA,
- /* flashrom's current maximum is 256 B. CH341A was tested on Linux and Windows to accept atleast
+ /* flashrom's current maximum is 256 B. CH341A was tested on Linux and Windows to accept at least
* 128 kB. Basically there should be no hard limit because transfers are broken up into USB packets
* sent to the device and most of their payload streamed via SPI. */
.max_data_read = 4 * 1024,
@@ -428,7 +428,7 @@ static int ch341a_spi_init(void)
int32_t ret = libusb_init(NULL);
if (ret < 0) {
- msg_perr("Couldnt initialize libusb!\n");
+ msg_perr("Couldn't initialize libusb!\n");
return -1;
}