diff mbox

ALSA: usx2y: fix inconsistent indenting on if statement

Message ID 1449056993-9987-1-git-send-email-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Colin King Dec. 2, 2015, 11:49 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

minor change, indenting is one tab out.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/usb/usx2y/usbusx2yaudio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai Dec. 2, 2015, 5:03 p.m. UTC | #1
On Wed, 02 Dec 2015 12:49:53 +0100,
Colin King wrote:
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> minor change, indenting is one tab out.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks.


Takashi

> ---
>  sound/usb/usx2y/usbusx2yaudio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c
> index 61d5dc2..dd40ca9 100644
> --- a/sound/usb/usx2y/usbusx2yaudio.c
> +++ b/sound/usb/usx2y/usbusx2yaudio.c
> @@ -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;
> -- 
> 2.6.2
> 
>
diff mbox

Patch

diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c
index 61d5dc2..dd40ca9 100644
--- a/sound/usb/usx2y/usbusx2yaudio.c
+++ b/sound/usb/usx2y/usbusx2yaudio.c
@@ -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;