From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Date: Wed, 14 May 2014 14:48:11 +0000 Subject: Re: [patch] ASoC: compress: indent an if statement Message-Id: List-Id: References: <20140514142308.GC18082@mwanda> In-Reply-To: <20140514142308.GC18082@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Vinod Koul , Liam Girdwood , Mark Brown , Jaroslav Kysela , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org At Wed, 14 May 2014 17:23:08 +0300, Dan Carpenter wrote: > > The return statement was not indented correctly. I lined up the > condition a bit as well. > > Signed-off-by: Dan Carpenter Applied this one, too. Thanks. Takashi > > diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c > index 91083e6..e4c7ad5 100644 > --- a/sound/soc/soc-compress.c > +++ b/sound/soc/soc-compress.c > @@ -317,8 +317,9 @@ static int soc_compr_trigger_fe(struct snd_compr_stream *cstream, int cmd) > cmd = SND_COMPR_TRIGGER_DRAIN) { > > if (platform->driver->compr_ops && > - platform->driver->compr_ops->trigger) > - return platform->driver->compr_ops->trigger(cstream, cmd); > + platform->driver->compr_ops->trigger) > + return platform->driver->compr_ops->trigger(cstream, > + cmd); > } > > if (cstream->direction = SND_COMPRESS_PLAYBACK) >