[PATCH v2 1/7] ufs: Convert quirks to BIT() macro
Marek Vasut
marek.vasut+renesas at mailbox.org
Wed Aug 16 17:05:49 CEST 2023
Use BIT() macro for quirks, no functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Bhupesh Sharma <bhupesh.sharma at linaro.org>
Cc: Faiz Abbas <faiz_abbas at ti.com>
---
V2: New patch
---
drivers/ufs/ufs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ufs/ufs.h b/drivers/ufs/ufs.h
index 8a38832b05f..5a5c13aefdf 100644
--- a/drivers/ufs/ufs.h
+++ b/drivers/ufs/ufs.h
@@ -717,7 +717,7 @@ struct ufs_hba {
* the LCC transmission on UFS device (by clearing TX_LCC_ENABLE
* attribute of device to 0).
*/
-#define UFSHCD_QUIRK_BROKEN_LCC 0x1
+#define UFSHCD_QUIRK_BROKEN_LCC BIT(0)
/* Virtual memory reference */
struct utp_transfer_cmd_desc *ucdl;
--
2.40.1
More information about the U-Boot
mailing list