diff mbox

[OPW,kernel] Staging:line6: fix line over 80 characters

Message ID 1382482822-18069-1-git-send-email-ebru.akagunduz@gmail.com
State New, archived
Headers show

Commit Message

Ebru Akagündüz Oct. 22, 2013, 11 p.m. UTC
Fix checkpatch.pl issues with line over 80 characters
in playback.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
---
 drivers/staging/line6/playback.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Lisa Nguyen Oct. 23, 2013, 6:53 a.m. UTC | #1
On Tue, Oct 22, 2013 at 4:00 PM, Ebru Akagunduz
<ebru.akagunduz@gmail.com> wrote:
> Fix checkpatch.pl issues with line over 80 characters
> in playback.c
>
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>

> ---
>  drivers/staging/line6/playback.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/line6/playback.c b/drivers/staging/line6/playback.c
> index f9135c7..41869ca 100644
> --- a/drivers/staging/line6/playback.c
> +++ b/drivers/staging/line6/playback.c
> @@ -242,13 +242,14 @@ static int submit_audio_out_urb(struct snd_line6_pcm *line6pcm)
>                 if (line6pcm->flags & LINE6_BITS_PCM_IMPULSE) {
>                         create_impulse_test_signal(line6pcm, urb_out,
>                                                    bytes_per_frame);
> -                       if (line6pcm->flags & LINE6_BIT_PCM_ALSA_CAPTURE_STREAM) {
> +                       if (line6pcm->flags &
> +                           LINE6_BIT_PCM_ALSA_CAPTURE_STREAM) {
>                                 line6_capture_copy(line6pcm,
>                                                    urb_out->transfer_buffer,
>                                                    urb_out->
>                                                    transfer_buffer_length);
>                                 line6_capture_check_period(line6pcm,
> -                                                          urb_out->transfer_buffer_length);
> +                                       urb_out->transfer_buffer_length);
>                         }
>                 } else {
>  #endif
> --
> 1.8.1.2
>
> --
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
diff mbox

Patch

diff --git a/drivers/staging/line6/playback.c b/drivers/staging/line6/playback.c
index f9135c7..41869ca 100644
--- a/drivers/staging/line6/playback.c
+++ b/drivers/staging/line6/playback.c
@@ -242,13 +242,14 @@  static int submit_audio_out_urb(struct snd_line6_pcm *line6pcm)
 		if (line6pcm->flags & LINE6_BITS_PCM_IMPULSE) {
 			create_impulse_test_signal(line6pcm, urb_out,
 						   bytes_per_frame);
-			if (line6pcm->flags & LINE6_BIT_PCM_ALSA_CAPTURE_STREAM) {
+			if (line6pcm->flags &
+			    LINE6_BIT_PCM_ALSA_CAPTURE_STREAM) {
 				line6_capture_copy(line6pcm,
 						   urb_out->transfer_buffer,
 						   urb_out->
 						   transfer_buffer_length);
 				line6_capture_check_period(line6pcm,
-							   urb_out->transfer_buffer_length);
+					urb_out->transfer_buffer_length);
 			}
 		} else {
 #endif