]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: exynos: remove tx_dif_p_nsec from exynosauto_ufs_drv_init()
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 31 Oct 2024 15:00:27 +0000 (15:00 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 3 Nov 2024 01:13:01 +0000 (21:13 -0400)
commitf8fe71a3fe89836e9b694f4a338157f5e36abae8
tree1880fbf94e4e27685d80bce8fd19e4157c77cab0
parent5ef3cb67f3da46cb9213aee8c92758af8683a4ef
scsi: ufs: exynos: remove tx_dif_p_nsec from exynosauto_ufs_drv_init()

Remove the assignment of tx_dif_p_nsec as both users of
exynosauto_ufs_drv_init() function (exynosauto and gs101) set the
EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR flag meaning that tx_dif_p_nsec has
no effect.

Additionally both users also set the samsung,sysreg dt property, meaning
the execution flow will always return on the regmap_update_bits() call
before the assignment.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20241031150033.3440894-9-peter.griffin@linaro.org
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c