Skip to contentSkip to conversation

scsi: ufs: exynos: correct sync pattern mask timing comment

PATCH Applied Alok Tiwari 3 participants 4 messages Sep 7, 2025 – Sep 20, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: ufs: exynos: correct sync pattern mask timing comment

Fix the comment for SYNC_LEN_G2 in exynos_ufs_config_sync_pattern_mask(). The actual value is 40us, not 44us, matching the configured mask timing. This change improves code clarity and avoids potential confusion for readers and maintainers.

No functional changes.

---
 drivers/ufs/host/ufs-exynos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ufs/host/ufs-exynos.c +1 -1
index 513cbcfa10ac..70d195179eba 100644
@@ -776,7 +776,7 @@ static void exynos_ufs_config_sync_pattern_mask(struct exynos_ufs *ufs,
 	u32 mask, sync_len;
 	enum {
 		SYNC_LEN_G1 = 80 * 1000, /* 80us */
-		SYNC_LEN_G2 = 40 * 1000, /* 44us */
+		SYNC_LEN_G2 = 40 * 1000, /* 40us */
 		SYNC_LEN_G3 = 20 * 1000, /* 20us */
 	};
 	int i;
Signature · 1 line
2.50.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Alok Tiwari

Fix the comment for SYNC_LEN_G2 in exynos_ufs_config_sync_pattern_mask(). The actual value is 40us, not 44us, matching the configured mask timing. This change improves code clarity and avoids potential confusion for readers and maintainers.

No functional changes.

---

#2 lore raw
In reply to Alok Tiwari

Alok,

Quoted 4 lines

Fix the comment for SYNC_LEN_G2 in exynos_ufs_config_sync_pattern_mask(). The actual value is 40us, not 44us, matching the configured mask timing. This change improves code clarity and avoids potential confusion for readers and maintainers.

Applied to 6.18/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen
#3 lore raw
In reply to Alok Tiwari
Quoted 8 lines · Alok Tiwari

Fix the comment for SYNC_LEN_G2 in exynos_ufs_config_sync_pattern_mask(). The actual value is 40us, not 44us, matching the configured mask timing. This change improves code clarity and avoids potential confusion for readers and maintainers.

No functional changes.

[...]

Applied to 6.18/scsi-queue, thanks!

[1/1] scsi: ufs: exynos: correct sync pattern mask timing comment

      https://git.kernel.org/mkp/scsi/c/0bd0e43776b6
Signature · 1 line
Martin K. Petersen