Skip to contentSkip to conversation

slimbus: Correct some typos in comments

PATCH Superseded Shen Lichuan 1 participant 1 message Sep 29, 2024

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slimbus: Correct some typos in comments

Fixed some confusing typos that were currently identified with codespell, the details are as follows:

-in the code comments:
drivers/slimbus/messaging.c:226: transfered ==> transferred drivers/slimbus/messaging.c:230: vlaue ==> value drivers/slimbus/qcom-ctrl.c:127: Oder ==> Order drivers/slimbus/slimbus.h:263: Presense ==> Presence drivers/slimbus/slimbus.h:371: resposible ==> responsible

---
 drivers/slimbus/messaging.c | 4 ++--
 drivers/slimbus/qcom-ctrl.c | 2 +-
 drivers/slimbus/slimbus.h   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/slimbus/messaging.c +2 -2
index 242570a5e565..b7dd2badc9d1 100644
@@ -223,11 +223,11 @@ static u16 slim_slicesize(int code)
 /**
  * slim_xfer_msg() - Transfer a value info message on slim device
  *
- * @sbdev: slim device to which this msg has to be transfered
+ * @sbdev: slim device to which this msg has to be transferred
  * @msg: value info message pointer
  * @mc: message code of the message
  *
- * Called by drivers which want to transfer a vlaue or info elements.
+ * Called by drivers which want to transfer a value or info elements.
  *
  * Return: -ETIMEDOUT: If transmission of this message timed out
  */
drivers/slimbus/qcom-ctrl.c +1 -1
index e25f9bdd9b23..039384d85e7b 100644
@@ -124,7 +124,7 @@ static void qcom_slim_queue_tx(struct qcom_slim_ctrl *ctrl, void *buf,
 
 	__iowrite32_copy(ctrl->base + tx_reg, buf, count);
 
-	/* Ensure Oder of subsequent writes */
+	/* Ensure Order of subsequent writes */
 	mb();
 }
 
drivers/slimbus/slimbus.h +2 -2
index 00a7f112574b..2067d47541f2 100644
@@ -260,7 +260,7 @@ enum slim_ch_aux_bit_fmt {
  * struct slim_channel  - SLIMbus channel, used for state machine
  *
  * @id: ID of channel
- * @prrate: Presense rate of channel from Table 66 of SLIMbus 2.0 Specs
+ * @prrate: Presence rate of channel from Table 66 of SLIMbus 2.0 Specs
  * @seg_dist: segment distribution code from Table 20 of SLIMbus 2.0 Specs
  * @data_fmt: Data format of channel.
  * @aux_fmt: Aux format for this channel.
@@ -368,7 +368,7 @@ struct slim_stream_runtime {
  * @get_laddr: It is possible that controller needs to set fixed logical
  *	address table and get_laddr can be used in that case so that controller
  *	can do this assignment. Use case is when the master is on the remote
- *	processor side, who is resposible for allocating laddr.
+ *	processor side, who is responsible for allocating laddr.
  * @wakeup: This function pointer implements controller-specific procedure
  *	to wake it up from clock-pause. Framework will call this to bring
  *	the controller out of clock pause.
Signature · 1 line
2.17.1