slimbus: Correct some typos in comments
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
Signed-off-by Shen Lichuan <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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