From: H Hartley Sweeten <hsweeten@visionengravers.com>
Date: Tue, 26 Nov 2013 17:21:24 +0000 (-0700)
Subject: staging: comedi: pcmmio: remove commented out debug code
X-Git-Tag: firefly_0821_release~176^2~4489^2~708
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=733cde0ef1c2b8a44ab32c27b9f0c508a2e6c67f;p=firefly-linux-kernel-4.4.55.git

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>
---

diff --git a/drivers/staging/comedi/drivers/pcmmio.c b/drivers/staging/comedi/drivers/pcmmio.c
index 1ebc9d2df67d..6da836e8caf1 100644
--- a/drivers/staging/comedi/drivers/pcmmio.c
+++ b/drivers/staging/comedi/drivers/pcmmio.c
@@ -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);
 	}