Re: [PATCH] scsi: ufs: mcq: Refactor ufshcd_mcq_enable_esi()
From: Martin K. Petersen
Date: Sun Jan 04 2026 - 16:47:40 EST
On Thu, 11 Dec 2025 19:02:27 +0530, vamshi gajjela wrote:
> Currently, ufshcd_mcq_enable_esi() manually implements a
> read-modify-write sequence using ufshcd_readl() and ufshcd_writel().
> It also utilizes a hardcoded magic number (0x2) for the enable bit.
>
> Use ufshcd_rmwl() helper, replace the magic number with the
> ESI_ENABLE macro to improve code readability.
>
> [...]
Applied to 6.20/scsi-queue, thanks!
[1/1] scsi: ufs: mcq: Refactor ufshcd_mcq_enable_esi()
https://git.kernel.org/mkp/scsi/c/e642331c9420
--
Martin K. Petersen