RE: [PATCH v2 1/3] scsi: ufs: add write booster feature support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +
> +       if (!hba->dev_info.b_presrv_uspc_en &&
> +           (avail_buf <= UFS_WB_10_PERCENT_BUF_REMAIN))
> +               return true;
If you are in reduced mode, but avail_buf > 10%,
you still get into ufshcd_wb_presrv_usrspc_keep_vcc_on(),
Which you don't want.

> +
> +       return ufshcd_wb_presrv_usrspc_keep_vcc_on(hba, avail_buf);
> +}
> +

Thanks,
Avri




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux