Skip to contentSkip to conversation

ASoC: compress: indent an if statement

PATCH Applied Dan Carpenter 3 participants 4 messages May 14, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: compress: indent an if statement

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

sound/soc/soc-compress.c +3 -2
index 91083e6..e4c7ad5 100644
@@ -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)
Applied
#1 lore raw

At Wed, 14 May 2014 17:23:08 +0300,

Quoted 5 lines · Dan Carpenter

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

Applied this one, too. Thanks.

Takashi

Quoted 18 lines
sound/soc/soc-compress.c +3 -2
index 91083e6..e4c7ad5 100644
@@ -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)
#2 lore raw

At Wed, 14 May 2014 16:48:11 +0200,

Quoted 10 lines · Takashi Iwai

At Wed, 14 May 2014 17:23:08 +0300,

Quoted 5 lines · Dan Carpenter

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

Applied this one, too. Thanks.

Oops, I took it mistakenly. Scratched from my branch now. Sorry for confusion.

Takashi

Quoted 22 lines

Takashi

Quoted 18 lines
sound/soc/soc-compress.c +3 -2
index 91083e6..e4c7ad5 100644
@@ -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)
maintainer Applied
#3 lore raw
In reply to Dan Carpenter
Quoted 2 lines · Dan Carpenter

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

Applied, thanks.