Commit 96c53cc7 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: ced1401: usb1401.c: change spaces to tabs

Fix checkpatch errors "code indent should use tabs where possible" in file
usb1401.c
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4f31668f
...@@ -610,9 +610,9 @@ static void staged_callback(struct urb *urb) ...@@ -610,9 +610,9 @@ static void staged_callback(struct urb *urb)
ta->blocks[1].offset); ta->blocks[1].offset);
} }
} else { /* If block 1 is not used, we try to add */ } else { /* If block 1 is not used, we try to add */
/*to block 0 */ /*to block 0 */
/* Got stored block 0 information? */ /* Got stored block 0 information? */
if (ta->blocks[0].size > 0) { if (ta->blocks[0].size > 0) {
/* Must append onto the */ /* Must append onto the */
/*existing block 0 */ /*existing block 0 */
...@@ -738,7 +738,7 @@ static void staged_callback(struct urb *urb) ...@@ -738,7 +738,7 @@ static void staged_callback(struct urb *urb)
/* This feels wrong as we should ask which spin lock protects */ /* This feels wrong as we should ask which spin lock protects */
/* dma_flag. */ /* dma_flag. */
restart_char_input = !cancel && (ced->dma_flag == MODE_CHAR) && restart_char_input = !cancel && (ced->dma_flag == MODE_CHAR) &&
!ced->xfer_waiting; !ced->xfer_waiting;
spin_unlock(&ced->staged_lock); /* Finally release the lock again */ spin_unlock(&ced->staged_lock); /* Finally release the lock again */
...@@ -803,7 +803,7 @@ static int ced_stage_chunk(struct ced_data *ced) ...@@ -803,7 +803,7 @@ static int ced_stage_chunk(struct ced_data *ced)
ced->pipe_error[pipe] = 1; /* Flag an error to be */ ced->pipe_error[pipe] = 1; /* Flag an error to be */
/* handled later */ /* handled later */
dev_err(&ced->interface->dev, dev_err(&ced->interface->dev,
"%s: submit urb failed, code %d\n", "%s: submit urb failed, code %d\n",
__func__, retval); __func__, retval);
} else } else
/* Set the flag for staged URB pending */ /* Set the flag for staged URB pending */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment