projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075d474
)
set CCSR_POWER_DOWN bit to see if that changes anything
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 20 Nov 2002 20:48:32 +0000
(20:48 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 20 Nov 2002 20:48:32 +0000
(20:48 +0000)
comedi/drivers/ni_labpc.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_labpc.c
b/comedi/drivers/ni_labpc.c
index 62f81e7ffe6a1ed069c409d6de4aff31e19bdeb7..eefda827b2807970eb98d6a2c3cfeaa0be059d2a 100644
(file)
--- a/
comedi/drivers/ni_labpc.c
+++ b/
comedi/drivers/ni_labpc.c
@@
-1613,7
+1613,6
@@
static int labpc_ao_winsn(comedi_device *dev, comedi_subdevice *s,
lsb = data[0] & 0xff;
msb = (data[0] >> 8 ) & 0xff;
thisboard->write_byte(lsb, dev->iobase + DAC_LSB_REG(channel));
- udelay( 1 );
thisboard->write_byte(msb, dev->iobase + DAC_MSB_REG(channel));
// remember value for readback
@@
-2432,6
+2431,8
@@
static void labpc_config(dev_link_t *link)
link->conf.Status = CCSR_AUDIO_ENA;
}
+ link->conf.Status |= CCSR_POWER_DOWN;
+
/* Use power settings for Vcc and Vpp if present */
/* Note that the CIS values need to be rescaled */
if (cfg->vcc.present & (1<<CISTPL_POWER_VNOM)) {