[PATCH v1] slimbus: Correct some typos in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Shen Lichuan <shenlichuan@xxxxxxxx>
---
 drivers/slimbus/messaging.c | 4 ++--
 drivers/slimbus/qcom-ctrl.c | 2 +-
 drivers/slimbus/slimbus.h   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c
index 242570a5e565..b7dd2badc9d1 100644
--- a/drivers/slimbus/messaging.c
+++ b/drivers/slimbus/messaging.c
@@ -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
  */
diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c
index e25f9bdd9b23..039384d85e7b 100644
--- a/drivers/slimbus/qcom-ctrl.c
+++ b/drivers/slimbus/qcom-ctrl.c
@@ -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();
 }
 
diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h
index 00a7f112574b..2067d47541f2 100644
--- a/drivers/slimbus/slimbus.h
+++ b/drivers/slimbus/slimbus.h
@@ -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.
-- 
2.17.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux