diff options
author | Stanley Chu <stanley.chu@mediatek.com> | 2020-05-09 17:37:15 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-14 21:02:22 -0400 |
commit | d14734ae3ae79d3b0286a2431782054e5066da8f (patch) | |
tree | a0b0a89a5af06bce8259ebf7b7524284ad3a53f8 /drivers/media/spi | |
parent | 90b8491c0033915ec1b290bc1c0de27935cb132d (diff) |
scsi: ufs: Customize flush threshold for WriteBooster
Allow flush threshold for WriteBooster to be customizable by vendors. To
achieve this, make the value a variable in struct ufs_hba_variant_params.
Also introduce UFS_WB_BUF_REMAIN_PERCENT() macro to provide a more flexible
way to specify WriteBooster available buffer values.
Link: https://lore.kernel.org/r/20200509093716.21010-4-stanley.chu@mediatek.com
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/media/spi')
0 files changed, 0 insertions, 0 deletions