diff options
author | 2022-10-26 00:24:29 +0200 | |
---|---|---|
committer | 2022-10-27 02:20:50 +0000 | |
commit | dca899bc02231214e25cffd3014cc77018dae942 (patch) | |
tree | 80e93766b2f555e8a5717fce9f20d33288cf4ea3 /drivers/scsi/BusLogic.c | |
parent | scsi: ufs: core: Revert "WB is only available on LUN #0 to #7" (diff) | |
download | wireguard-linux-dca899bc02231214e25cffd3014cc77018dae942.tar.xz wireguard-linux-dca899bc02231214e25cffd3014cc77018dae942.zip |
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 'drivers/scsi/BusLogic.c')
0 files changed, 0 insertions, 0 deletions