Skip to contentSkip to conversation

ALSA: usx2y: fix inconsistent indenting on if statement

PATCH Applied Colin King 2 participants 2 messages Dec 2, 2015 Sound

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 ALSA: usx2y: fix inconsistent indenting on if statement

From: Colin Ian King <[email protected]>

minor change, indenting is one tab out.

---
 sound/usb/usx2y/usbusx2yaudio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/usx2y/usbusx2yaudio.c +1 -1
index 61d5dc2..dd40ca9 100644
@@ -166,7 +166,7 @@ static int usX2Y_urb_play_prepare(struct snd_usX2Y_substream *subs,
 			/* set the buffer pointer */
 			urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride;
 			if ((subs->hwptr += count) >= runtime->buffer_size)
-			subs->hwptr -= runtime->buffer_size;			
+				subs->hwptr -= runtime->buffer_size;
 		}
 	else
 		urb->transfer_buffer = subs->tmpbuf;
Signature · 1 line
2.6.2
Applied
#1 lore raw
Quoted 6 lines · Colin King

From: Colin Ian King <[email protected]>

minor change, indenting is one tab out.

Applied, thanks.

Takashi

Quoted 21 lines
---
 sound/usb/usx2y/usbusx2yaudio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/usx2y/usbusx2yaudio.c +1 -1
index 61d5dc2..dd40ca9 100644
@@ -166,7 +166,7 @@ static int usX2Y_urb_play_prepare(struct snd_usX2Y_substream *subs,
 			/* set the buffer pointer */
 			urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride;
 			if ((subs->hwptr += count) >= runtime->buffer_size)
-			subs->hwptr -= runtime->buffer_size;			
+				subs->hwptr -= runtime->buffer_size;
 		}
 	else
 		urb->transfer_buffer = subs->tmpbuf;
Signature · 1 line
2.6.2