diff options
| author | 2025-12-11 19:02:27 +0530 | |
|---|---|---|
| committer | 2025-12-16 21:13:27 -0500 | |
| commit | e642331c942003f58dba6e33c8ee93402211b7b6 (patch) | |
| tree | d060ba09b2300fda51a4de05b84c65b8c463595c /rust/kernel/num/ssh:/git@git.zx2c4.com | |
| parent | scsi: target: core: Add emulation for REPORT IDENTIFYING INFORMATION (diff) | |
scsi: ufs: core: mcq: Use ufshcd_rmwl() instead of open-coding it
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.
No functional change intended.
Signed-off-by: vamshi gajjela <vamshigajjela@google.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251211133227.4159394-1-vamshigajjela@google.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/kernel/num/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
