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

From: Nicolin Chen
Date: Wed Dec 13 2017 - 17:34:06 EST


On Wed, Dec 13, 2017 at 11:30:31PM +0100, Maciej S. Szmigiero wrote:
> 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 ^.

Good catch.

Thanks