[PATCH 3/3] ASoC: sh: rz-ssi: Remove duplicate macros

Biju Das biju.das.jz at bp.renesas.com
Tue Jan 25 14:48:53 CET 2022


Hi Prabhakar,

Thanks for the patch

> -----Original Message-----
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> Sent: 25 January 2022 13:25
> To: Mark Brown <broonie at kernel.org>; Liam Girdwood <lgirdwood at gmail.com>;
> Jaroslav Kysela <perex at perex.cz>; Takashi Iwai <tiwai at suse.com>; alsa-
> devel at alsa-project.org; Pavel Machek <pavel at denx.de>
> Cc: linux-kernel at vger.kernel.org; linux-renesas-soc at vger.kernel.org; Biju
> Das <biju.das.jz at bp.renesas.com>; Prabhakar <prabhakar.csengg at gmail.com>;
> Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj at bp.renesas.com>
> Subject: [PATCH 3/3] ASoC: sh: rz-ssi: Remove duplicate macros
> 
> Remove SSICR_MST and SSICR_CKDV macros which are defined more than once.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>

Reviewed-by: Biju Das <biju.das.jz at bp.renesas.com>

Cheers,
Biju

> ---
>  sound/soc/sh/rz-ssi.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/sound/soc/sh/rz-ssi.c b/sound/soc/sh/rz-ssi.c index
> 1a46c9f3c4e5..e8edaed05d4c 100644
> --- a/sound/soc/sh/rz-ssi.c
> +++ b/sound/soc/sh/rz-ssi.c
> @@ -28,8 +28,6 @@
>  /* SSI REGISTER BITS */
>  #define SSICR_DWL(x)		(((x) & 0x7) << 19)
>  #define SSICR_SWL(x)		(((x) & 0x7) << 16)
> -#define SSICR_MST		BIT(14)
> -#define SSICR_CKDV(x)		(((x) & 0xf) << 4)
> 
>  #define SSICR_CKS		BIT(30)
>  #define SSICR_TUIEN		BIT(29)
> --
> 2.17.1



More information about the Alsa-devel mailing list