mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 23:13:38 -04:00
staging: comedi: pcmmio: remove commented out debug code
Remove the commented out code in init_asics() that enables the rising edge interrupts on port0 of both asics. 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:
committed by
Greg Kroah-Hartman
parent
4bb82d647d
commit
733cde0ef1
@@ -357,13 +357,6 @@ static void init_asics(struct comedi_device *dev)
|
||||
outb(0, baseaddr + reg);
|
||||
}
|
||||
|
||||
/* DEBUG set rising edge interrupts on port0 of both asics */
|
||||
/*switch_page(dev, asic, PAGE_POL);
|
||||
outb(0xff, baseaddr + REG_POL0);
|
||||
switch_page(dev, asic, PAGE_ENAB);
|
||||
outb(0xff, baseaddr + REG_ENAB0); */
|
||||
/* END DEBUG */
|
||||
|
||||
/* switch back to default page 0 */
|
||||
switch_page(dev, asic, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user