Re: [PATCH v2] ufs: mcq: Adding a function for MCQ enable

From: Peter Wang (王信友)
Date: Fri Dec 22 2023 - 01:31:46 EST


On Thu, 2023-12-21 at 15:56 +0900, Chanwoo Lee wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> From: ChanWoo Lee <cw9316.lee@xxxxxxxxxxx>
>
> The REG_UFS_MEM_CFG register is too general(broad)
> and it is difficult to know the meaning only with a value of 0x1.
> So far, comments were required.
>
> Therefore, I have added new functions and defines
> to improve code readability/reusability.
>
> Signed-off-by: ChanWoo Lee <cw9316.lee@xxxxxxxxxxx>
>
> * v1->v2:
> 1) Excluding ESI_ENABLE
> 2) Replace with ufshcd_rmwl, BIT()
> 3) Separating hba->mcq_enabled
> ---
>

Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>