summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sprd.c
diff options
context:
space:
mode:
authorYan Zhen <yanzhen@vivo.com>2024-09-14 11:52:13 +0200
committerMark Brown <broonie@kernel.org>2024-09-30 01:12:21 +0200
commit89980d3a34655d99c599f6acf877fd48775a29ad (patch)
tree16d9909cc7c2d931d02f4215d9e514c4b00ab332 /drivers/spi/spi-sprd.c
parentLinux 6.12-rc1 (diff)
downloadlinux-89980d3a34655d99c599f6acf877fd48775a29ad.tar.xz
linux-89980d3a34655d99c599f6acf877fd48775a29ad.zip
spi: fix typo in the comment
Correctly spelled comments make it easier for the reader to understand the code. Replace 'progrom' with 'program' in the comment & replace 'Recevie' with 'Receive' in the comment & replace 'receieved' with 'received' in the comment & replace 'ajacent' with 'adjacent' in the comment & replace 'trasaction' with 'transaction' in the comment & replace 'pecularity' with 'peculiarity' in the comment & replace 'resiter' with 'register' in the comment & replace 'tansmition' with 'transmission' in the comment & replace 'Deufult' with 'Default' in the comment & replace 'tansfer' with 'transfer' in the comment & replace 'settign' with 'setting' in the comment. Signed-off-by: Yan Zhen <yanzhen@vivo.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Link: https://patch.msgid.link/20240914095213.298256-1-yanzhen@vivo.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sprd.c')
-rw-r--r--drivers/spi/spi-sprd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sprd.c b/drivers/spi/spi-sprd.c
index 831ebae10fe0..233ebfb8df5e 100644
--- a/drivers/spi/spi-sprd.c
+++ b/drivers/spi/spi-sprd.c
@@ -728,7 +728,7 @@ static int sprd_spi_setup_transfer(struct spi_device *sdev,
if (ret)
return ret;
- /* Set tansfer speed and valid bits */
+ /* Set transfer speed and valid bits */
sprd_spi_set_speed(ss, t->speed_hz);
sprd_spi_set_transfer_bits(ss, bits_per_word);