diff options
author | Bean Huo <beanhuo@micron.com> | 2022-10-26 00:24:29 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-27 02:20:50 +0000 |
commit | dca899bc02231214e25cffd3014cc77018dae942 (patch) | |
tree | 80e93766b2f555e8a5717fce9f20d33288cf4ea3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b43678ea5bbd92388339ecae47ed44955474f53b (diff) |
scsi: ufs: core: Clean up ufshcd_slave_alloc()
Combine ufshcd_get_lu_power_on_wp_status() and ufshcd_set_queue_depth()
into one single ufshcd_lu_init(), so that we only need to read the LUN
descriptor once.
Signed-off-by: Bean Huo <beanhuo@micron.com>
Link: https://lore.kernel.org/r/20221025222430.277768-3-beanhuo@iokpp.de
Reviewed-by: Arthur Simchaev <arthur.simchaev@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions