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

Peter Wang (王信友) peter.wang at mediatek.com
Thu Dec 21 22:31:18 PST 2023


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 at samsung.com>
> 
> 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 at samsung.com>
> 
> * v1->v2:
>    1) Excluding ESI_ENABLE
>    2) Replace with ufshcd_rmwl, BIT()
>    3) Separating hba->mcq_enabled
> ---
> 

Reviewed-by: Peter Wang <peter.wang at mediatek.com>


More information about the linux-arm-kernel mailing list