]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ufs: Convert quirks to BIT() macro
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 16 Aug 2023 15:05:49 +0000 (17:05 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 Aug 2023 17:47:43 +0000 (13:47 -0400)
Use BIT() macro for quirks, no functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
drivers/ufs/ufs.h

index 8a38832b05f8f5b44fbd9c08534e247b4adcd10d..5a5c13aefdfb270d20c8e24b8aa9e0cc656aa9e6 100644 (file)
@@ -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;