staging: comedi: usbduxsigma: tidy up block comments

Merge the two comments and format it in the kernel CodingStyle.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2015-08-14 11:39:41 -07:00 committed by Greg Kroah-Hartman
parent ef9a6bdfea
commit c20d199492
1 changed files with 4 additions and 4 deletions

View File

@ -223,11 +223,11 @@ static void usbduxsigma_ai_handle_urb(struct comedi_device *dev,
if (devpriv->ai_counter == 0) {
devpriv->ai_counter = devpriv->ai_timer;
/* get the data from the USB bus
and hand it over to comedi */
/*
* Get the data from the USB bus and hand it over
* to comedi. Note, first byte is the DIO state.
*/
for (i = 0; i < cmd->chanlist_len; i++) {
/* transfer data,
note first byte is the DIO state */
val = be32_to_cpu(devpriv->in_buf[i + 1]);
val &= 0x00ffffff; /* strip status byte */
val ^= 0x00800000; /* convert to unsigned */