drivers/ufs/host/ufs-exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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
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
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>
© 2016 - 2026 Red Hat, Inc.