diff mbox series

fsi: fix some spelling mistakes in comment

Message ID 20230203083721.23455-1-yuzhe@nfschina.com
State New
Headers show
Series fsi: fix some spelling mistakes in comment | expand

Commit Message

Yu Zhe Feb. 3, 2023, 8:37 a.m. UTC
Fix typos in comment.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
---
 drivers/fsi/fsi-master-ast-cf.c | 2 +-
 drivers/fsi/fsi-sbefifo.c       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Andrew Jeffery Feb. 13, 2023, 2:34 a.m. UTC | #1
On Fri, 3 Feb 2023, at 19:07, Yu Zhe wrote:
> Fix typos in comment.
>
> Signed-off-by: Yu Zhe <yuzhe@nfschina.com>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
diff mbox series

Patch

diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c
index 5f608ef8b53c..5fcf2514642b 100644
--- a/drivers/fsi/fsi-master-ast-cf.c
+++ b/drivers/fsi/fsi-master-ast-cf.c
@@ -1133,7 +1133,7 @@  static int fsi_master_acf_gpio_request(void *data)
 
 	/* Note: This doesn't require holding out mutex */
 
-	/* Write reqest */
+	/* Write request */
 	iowrite8(ARB_ARM_REQ, master->sram + ARB_REG);
 
 	/*
diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c
index 9912b7a6a4b9..0a0313c409a9 100644
--- a/drivers/fsi/fsi-sbefifo.c
+++ b/drivers/fsi/fsi-sbefifo.c
@@ -81,7 +81,7 @@ 
 
 enum sbe_state
 {
-	SBE_STATE_UNKNOWN = 0x0, // Unkown, initial state
+	SBE_STATE_UNKNOWN = 0x0, // Unknown, initial state
 	SBE_STATE_IPLING  = 0x1, // IPL'ing - autonomous mode (transient)
 	SBE_STATE_ISTEP   = 0x2, // ISTEP - Running IPL by steps (transient)
 	SBE_STATE_MPIPL   = 0x3, // MPIPL
@@ -730,7 +730,7 @@  static int __sbefifo_submit(struct sbefifo *sbefifo,
  * @response: The output response buffer
  * @resp_len: In: Response buffer size, Out: Response size
  *
- * This will perform the entire operation. If the reponse buffer
+ * This will perform the entire operation. If the response buffer
  * overflows, returns -EOVERFLOW
  */
 int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len,