[PATCH v2 1/7] ufs: Convert quirks to BIT() macro
Bhupesh Sharma
bhupesh.sharma at linaro.org
Tue Aug 22 06:01:21 CEST 2023
On 8/16/23 8:35 PM, Marek Vasut wrote:
> 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;
Reviewed-by: Bhupesh Sharma <bhupesh.sharma at linaro.org>
More information about the U-Boot
mailing list