diff options
| author | Bean Huo <[email protected]> | 2020-06-03 11:19:58 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-15 23:17:48 -0400 |
| commit | 7a0bf85b5e1859bfd40a07279d20edd847265702 (patch) | |
| tree | 6db0554782b1cb18b9f18efe69e9a9afba7f4bf3 /tools/perf/scripts/python/bin | |
| parent | cbe193f6f093b79fd1ab998dd95f73f874fb4733 (diff) | |
scsi: ufs: Clean up ufs initialization path
At UFS initialization stage, to get the length of the descriptor,
ufshcd_read_desc_length() was being called 6 times. Instead, we will
capture the descriptor size the first time we'll read it.
Delete unnecessary redundant code, remove ufshcd_read_desc_length(),
ufshcd_init_desc_sizes(), and boost UFS initialization.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Avri Altman <[email protected]>
Reviewed-by: Bart van Assche <[email protected]>
Reviewed-by: Stanley Chu <[email protected]>
Signed-off-by: Bean Huo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions