summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authoredcarter <edcarter@ualberta.ca>2017-06-02 18:18:24 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-04 10:17:42 +0200
commit3137139a65822f331d4cce195da1440c1dc0a071 (patch)
treedc16bb71dd17510eacba82ab325438cbed567fa8 /drivers/staging/comedi
parentb52fb1407269a2cbf94b29cb8003512b4f118dfe (diff)
downloadtalos-obmc-linux-3137139a65822f331d4cce195da1440c1dc0a071.tar.gz
talos-obmc-linux-3137139a65822f331d4cce195da1440c1dc0a071.zip
Staging: comedi: s626.c: fixed trailing */ style issue
Fixed coding style issue where trailing */ in block comments were not on separate lines. Signed-off-by: Elias Carter <edcarter@ualberta.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/drivers/s626.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c
index 4b9c22665748..c906c9a5d944 100644
--- a/drivers/staging/comedi/drivers/s626.c
+++ b/drivers/staging/comedi/drivers/s626.c
@@ -580,11 +580,14 @@ static int s626_set_dac(struct comedi_device *dev,
* running after the packet has been sent to the target DAC.
*/
val = 0x0F000000; /* Continue clock after target DAC data
- * (write to non-existent trimdac). */
+ * (write to non-existent trimdac).
+ */
val |= 0x00004000; /* Address the two main dual-DAC devices
- * (TSL's chip select enables target device). */
+ * (TSL's chip select enables target device).
+ */
val |= ((u32)(chan & 1) << 15); /* Address the DAC channel
- * within the device. */
+ * within the device.
+ */
val |= (u32)dacdata; /* Include DAC setpoint data. */
return s626_send_dac(dev, val);
}
OpenPOWER on IntegriCloud