File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,6 @@ static const struct __ufs_qcom_bw_table {
90
90
[MODE_MAX ][0 ][0 ] = { 7643136 , 307200 },
91
91
};
92
92
93
- static struct ufs_qcom_host * ufs_qcom_hosts [MAX_UFS_QCOM_HOSTS ];
94
-
95
93
static void ufs_qcom_get_default_testbus_cfg (struct ufs_qcom_host * host );
96
94
static int ufs_qcom_set_core_clk_ctrl (struct ufs_hba * hba , bool is_scale_up );
97
95
@@ -1194,9 +1192,6 @@ static int ufs_qcom_init(struct ufs_hba *hba)
1194
1192
1195
1193
ufs_qcom_setup_clocks (hba , true, POST_CHANGE );
1196
1194
1197
- if (hba -> dev -> id < MAX_UFS_QCOM_HOSTS )
1198
- ufs_qcom_hosts [hba -> dev -> id ] = host ;
1199
-
1200
1195
ufs_qcom_get_default_testbus_cfg (host );
1201
1196
err = ufs_qcom_testbus_config (host );
1202
1197
if (err )
Original file line number Diff line number Diff line change 10
10
#include <soc/qcom/ice.h>
11
11
#include <ufs/ufshcd.h>
12
12
13
- #define MAX_UFS_QCOM_HOSTS 1
14
13
#define MAX_U32 (~(u32)0)
15
14
#define MPHY_TX_FSM_STATE 0x41
16
15
#define TX_FSM_HIBERN8 0x1
You can’t perform that action at this time.
0 commit comments