aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2023-12-08 12:28:59 +0530
committerMartin K. Petersen <[email protected]>2023-12-13 23:03:46 -0500
commit6b481af25ec0edaff8d7b39b2fa17e2f645afc8d (patch)
tree5b21da5f731e4ced1915019014ad968140dccee0 /scripts/generate_rust_analyzer.py
parent3b60f4564ff5b0e33d0d256b17594e223f0bcac8 (diff)
scsi: ufs: qcom: Simplify ufs_qcom_{assert/deassert}_reset
In both the functions, UFS_PHY_SOFT_RESET contains the mask of the reset bit. So this can be passed directly as the value to be written for asserting the reset. For deasserting, 0 can be passed. This gets rid of the FIELD_PREP() inside these functions and also UFS_PHY_RESET_{ENABLE/DISABLE} definitions. Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Andrew Halaney <[email protected]> Tested-by: Andrew Halaney <[email protected]> # sa8775p-ride Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions