Re: [PATCH v2 05/11] ASoC: fsl_ssi: Refine indentations and wrappings

From: Maciej S. Szmigiero
Date: Wed Dec 13 2017 - 17:30:44 EST


On 13.12.2017 07:34, Nicolin Chen wrote:
> This patch just simply unifies the coding style.
>
> Signed-off-by: Nicolin Chen <nicoleotsuka@xxxxxxxxx>
> ---
>
> Changelog
> v1->v2
> * Added two missing indentation changes
> * Removed two extra blank lines.
>
> sound/soc/fsl/fsl_ssi.c | 239 +++++++++++++++++++++-----------------------
> sound/soc/fsl/fsl_ssi.h | 2 +-
> sound/soc/fsl/fsl_ssi_dbg.c | 3 +-
> 3 files changed, 118 insertions(+), 126 deletions(-)
>
> diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
> index 8b5407d..9a3db08 100644
> --- a/sound/soc/fsl/fsl_ssi.c
> +++ b/sound/soc/fsl/fsl_ssi.c
(..)
> @@ -916,12 +917,11 @@ static int _fsl_ssi_set_dai_fmt(struct device *dev,
> case SND_SOC_DAIFMT_DSP_A:
> /* Data on rising edge of bclk, frame high, 1clk before data */
> strcr |= SSI_STCR_TFSL | SSI_STCR_TSCKP |
> - SSI_STCR_TXBIT0 | SSI_STCR_TEFS;
> + SSI_STCR_TXBIT0 | SSI_STCR_TEFS;
> break;
> case SND_SOC_DAIFMT_DSP_B:
> /* Data on rising edge of bclk, frame high */
> - strcr |= SSI_STCR_TFSL | SSI_STCR_TSCKP |
> - SSI_STCR_TXBIT0;
> + strcr |= SSI_STCR_TFSL | SSI_STCR_TSCKP | SSI_STCR_TXBIT0;

It looks like an extra space got here ^.

Maciej