projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f854d3
)
adv_pci1710: In pci171x_ai_docmd_and_mode(), initialize divisor1 and
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:32:37 +0000
(11:32 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:32:37 +0000
(11:32 +0000)
divisor2 values passed by reference to i8253_cascase_ns_to_timer().
comedi/drivers/adv_pci1710.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/adv_pci1710.c
b/comedi/drivers/adv_pci1710.c
index 65e1d23ea7031b047813f3ee49d35f937422b81d..53cae42c44a87a8c8232ea00f9cad90d09e591ac 100644
(file)
--- a/
comedi/drivers/adv_pci1710.c
+++ b/
comedi/drivers/adv_pci1710.c
@@
-804,7
+804,7
@@
static irqreturn_t interrupt_service_pci1710(int irq, void *d PT_REGS_ARG)
static int pci171x_ai_docmd_and_mode(int mode, comedi_device * dev,
comedi_subdevice * s)
{
- unsigned int divisor1
, divisor2
;
+ unsigned int divisor1
= 0, divisor2 = 0
;
unsigned int seglen;
DPRINTK("adv_pci1710 EDBG: BGN: pci171x_ai_docmd_and_mode(%d,...)\n",