Commit 1d0117ff authored by Sam Asadi's avatar Sam Asadi Committed by Greg Kroah-Hartman

Staging: comedi: adv_pci1710: a line over 80 characters fixed

An issue in 'line over 80 characters' fixed and over-lined comment
removed to the previous line.
Signed-off-by: default avatarSam Asadi <asadi.samuel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ab6c61b
......@@ -1058,7 +1058,8 @@ static int pci171x_reset(struct comedi_device *dev)
pci171x_start_pacer(dev, false);
devpriv->da_ranges = 0;
if (this_board->n_aochan) {
outb(devpriv->da_ranges, dev->iobase + PCI171x_DAREF); /* set DACs to 0..5V */
/* set DACs to 0..5V */
outb(devpriv->da_ranges, dev->iobase + PCI171x_DAREF);
outw(0, dev->iobase + PCI171x_DA1); /* set DA outputs to 0V */
devpriv->ao_data[0] = 0x0000;
if (this_board->n_aochan > 1) {
......
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