aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/scsi/BusLogic.c
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2022-10-26 00:24:29 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-27 02:20:50 +0000
commitdca899bc02231214e25cffd3014cc77018dae942 (patch)
tree80e93766b2f555e8a5717fce9f20d33288cf4ea3 /drivers/scsi/BusLogic.c
parentscsi: ufs: core: Revert "WB is only available on LUN #0 to #7" (diff)
downloadwireguard-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