]> www.infradead.org Git - users/willy/xarray.git/commitdiff
scsi: ufs: exynos: gs101: Remove unused phy attribute fields
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 31 Oct 2024 15:00:26 +0000 (15:00 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 3 Nov 2024 01:13:01 +0000 (21:13 -0400)
Now that exynos_ufs_specify_phy_time_attr() checks the appropriate
EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR flag. Remove the unused fields in
gs101_uic_attr.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20241031150033.3440894-8-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

index 0ac940690a150f7e77483a7fb0697cc3ed1df4d8..e477ab86e3c15df578c5698f7d583bc0eaad8a3e 100644 (file)
@@ -2064,26 +2064,6 @@ static const struct exynos_ufs_drv_data exynos_ufs_drvs = {
 
 static struct exynos_ufs_uic_attr gs101_uic_attr = {
        .tx_trailingclks                = 0xff,
-       .tx_dif_p_nsec                  = 3000000,      /* unit: ns */
-       .tx_dif_n_nsec                  = 1000000,      /* unit: ns */
-       .tx_high_z_cnt_nsec             = 20000,        /* unit: ns */
-       .tx_base_unit_nsec              = 100000,       /* unit: ns */
-       .tx_gran_unit_nsec              = 4000,         /* unit: ns */
-       .tx_sleep_cnt                   = 1000,         /* unit: ns */
-       .tx_min_activatetime            = 0xa,
-       .rx_filler_enable               = 0x2,
-       .rx_dif_p_nsec                  = 1000000,      /* unit: ns */
-       .rx_hibern8_wait_nsec           = 4000000,      /* unit: ns */
-       .rx_base_unit_nsec              = 100000,       /* unit: ns */
-       .rx_gran_unit_nsec              = 4000,         /* unit: ns */
-       .rx_sleep_cnt                   = 1280,         /* unit: ns */
-       .rx_stall_cnt                   = 320,          /* unit: ns */
-       .rx_hs_g1_sync_len_cap          = SYNC_LEN_COARSE(0xf),
-       .rx_hs_g2_sync_len_cap          = SYNC_LEN_COARSE(0xf),
-       .rx_hs_g3_sync_len_cap          = SYNC_LEN_COARSE(0xf),
-       .rx_hs_g1_prep_sync_len_cap     = PREP_LEN(0xf),
-       .rx_hs_g2_prep_sync_len_cap     = PREP_LEN(0xf),
-       .rx_hs_g3_prep_sync_len_cap     = PREP_LEN(0xf),
        .pa_dbg_opt_suite1_val          = 0x90913C1C,
        .pa_dbg_opt_suite1_off          = PA_GS101_DBG_OPTION_SUITE1,
        .pa_dbg_opt_suite2_val          = 0xE01C115F,