Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx> --- drivers/staging/ced1401/usb1401.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 479c674..a3d1ed6 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -610,9 +610,9 @@ static void staged_callback(struct urb *urb) ta->blocks[1].offset); } } 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) { /* Must append onto the */ /*existing block 0 */ @@ -738,7 +738,7 @@ static void staged_callback(struct urb *urb) /* This feels wrong as we should ask which spin lock protects */ /* dma_flag. */ 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 */ @@ -803,7 +803,7 @@ static int ced_stage_chunk(struct ced_data *ced) ced->pipe_error[pipe] = 1; /* Flag an error to be */ /* handled later */ dev_err(&ced->interface->dev, - "%s: submit urb failed, code %d\n", + "%s: submit urb failed, code %d\n", __func__, retval); } else /* Set the flag for staged URB pending */ @@ -1061,7 +1061,7 @@ static bool ced_read_dma_info(volatile struct dmadesc *dma_desc, dma_desc->outward = (trans_code != TM_EXTTOHOST); switch (trans_code) { - + /* Extended linear transfer modes (the only ones!) */ case TM_EXTTOHOST: case TM_EXTTO1401: -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel