From: H Hartley Sweeten Date: Tue, 26 Nov 2013 17:21:24 +0000 (-0700) Subject: staging: comedi: pcmmio: remove commented out debug code X-Git-Tag: v3.14-rc1~13^2~708 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=733cde0ef1c2b8a44ab32c27b9f0c508a2e6c67f;p=platform%2Fkernel%2Flinux-exynos.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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcmmio.c b/drivers/staging/comedi/drivers/pcmmio.c index 1ebc9d2..6da836e 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); }