mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
UPSTREAM: scsi: ufs: Update comment in the function ufshcd_wb_probe()
USFHCD supports both WriteBooster "LU dedicated buffer" mode and "shared
buffer" mode. Update the comment accordingly in the function
ufshcd_wb_probe().
Link: https://lore.kernel.org/r/20210119163847.20165-4-huobean@gmail.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit ae1ce1fc61)
Bug: 204438323
Change-Id: Ie812740fca47d92cbf62b5888ab902a30cf9c61f
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Bart Van Assche
parent
b59267e60b
commit
2e2448cd34
@@ -7431,10 +7431,9 @@ static void ufshcd_wb_probe(struct ufs_hba *hba, u8 *desc_buf)
|
||||
goto wb_disabled;
|
||||
|
||||
/*
|
||||
* WB may be supported but not configured while provisioning.
|
||||
* The spec says, in dedicated wb buffer mode,
|
||||
* a max of 1 lun would have wb buffer configured.
|
||||
* Now only shared buffer mode is supported.
|
||||
* WB may be supported but not configured while provisioning. The spec
|
||||
* says, in dedicated wb buffer mode, a max of 1 lun would have wb
|
||||
* buffer configured.
|
||||
*/
|
||||
dev_info->b_wb_buffer_type =
|
||||
desc_buf[DEVICE_DESC_PARAM_WB_TYPE];
|
||||
|
||||
Reference in New Issue
Block a user