[PATCH v1] ufs: core: change comment message to popular format
peter.wang at mediatek.com
peter.wang at mediatek.com
Mon Jul 25 06:15:58 PDT 2022
From: Peter Wang <peter.wang at mediatek.com>
Some editor cannot display â0â â1â in correct format.
Change it to '0' '1' for most editor can display.
Signed-off-by: Peter Wang <peter.wang at mediatek.com>
---
drivers/ufs/core/ufshcd.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index c7b337480e3e..4ffb344bcb46 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -760,14 +760,14 @@ static inline void ufshcd_utrl_clear(struct ufs_hba *hba, u32 mask)
* From the UFSHCI specification: "UTP Transfer Request List CLear
* Register (UTRLCLR): This field is bit significant. Each bit
* corresponds to a slot in the UTP Transfer Request List, where bit 0
- * corresponds to request slot 0. A bit in this field is set to â0â
+ * corresponds to request slot 0. A bit in this field is set to '0'
* by host software to indicate to the host controller that a transfer
* request slot is cleared. The host controller
* shall free up any resources associated to the request slot
- * immediately, and shall set the associated bit in UTRLDBR to â0â. The
+ * immediately, and shall set the associated bit in UTRLDBR to '0'. The
* host software indicates no change to request slots by setting the
- * associated bits in this field to â1â. Bits in this field shall only
- * be set â1â or â0â by host software when UTRLRSR is set to â1â."
+ * associated bits in this field to '1'. Bits in this field shall only
+ * be set '1' or '0' by host software when UTRLRSR is set to '1'."
*/
ufshcd_writel(hba, ~mask, REG_UTP_TRANSFER_REQ_LIST_CLEAR);
}
--
2.18.0
More information about the Linux-mediatek
mailing list