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

Alok Tiwari posted 1 patch 5 months ago
drivers/ufs/host/ufs-exynos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scsi: ufs: exynos: correct sync pattern mask timing comment
Posted by Alok Tiwari 5 months ago
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.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
 drivers/ufs/host/ufs-exynos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c
index 513cbcfa10ac..70d195179eba 100644
--- a/drivers/ufs/host/ufs-exynos.c
+++ b/drivers/ufs/host/ufs-exynos.c
@@ -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;
-- 
2.50.1
Re: [PATCH] scsi: ufs: exynos: correct sync pattern mask timing comment
Posted by Martin K. Petersen 4 months, 2 weeks ago
On Sun, 07 Sep 2025 13:27:49 -0700, Alok Tiwari wrote:

> 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

-- 
Martin K. Petersen
Re: [PATCH] scsi: ufs: exynos: correct sync pattern mask timing comment
Posted by Martin K. Petersen 4 months, 3 weeks ago
Alok,

> 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!

-- 
Martin K. Petersen
Re: [PATCH] scsi: ufs: exynos: correct sync pattern mask timing comment
Posted by Peter Griffin 4 months, 3 weeks ago
On Sun, 7 Sept 2025 at 21:27, Alok Tiwari <alok.a.tiwari@oracle.com> wrote:
>
> 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.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> ---

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>