]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
scsi: ufs: exynos: Correct sync pattern mask timing comment
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 7 Sep 2025 20:27:49 +0000 (13:27 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Sep 2025 01:43:11 +0000 (21:43 -0400)
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>
Message-ID: <20250907202752.3613183-1-alok.a.tiwari@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c

index 513cbcfa10acda24de014e0b25b97e2d86cef7b8..70d195179ebaa01f38331faaee6f8349211c4c3b 100644 (file)
@@ -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;