public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] ASoC: compress: indent an if statement
@ 2014-05-14 14:23 Dan Carpenter
  2014-05-14 14:48 ` Takashi Iwai
  2014-05-14 15:15 ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Carpenter @ 2014-05-14 14:23 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	alsa-devel, kernel-janitors

The return statement was not indented correctly.  I lined up the
condition a bit as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

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)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-14 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 14:23 [patch] ASoC: compress: indent an if statement Dan Carpenter
2014-05-14 14:48 ` Takashi Iwai
2014-05-14 15:19   ` Takashi Iwai
2014-05-14 15:15 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox