Commit 77c08dbc authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: s626: remove the "interrupt call test"



This commented out code in s626_ai_insn_read() is just left over
development test code. Remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2281befd
...@@ -1156,12 +1156,6 @@ static int s626_ai_insn_read(struct comedi_device *dev, ...@@ -1156,12 +1156,6 @@ static int s626_ai_insn_read(struct comedi_device *dev,
int tmp; int tmp;
int n; int n;
/* interrupt call test */
/* writel(IRQ_GPIO3,devpriv->mmio+P_PSR); */
/* Writing a logical 1 into any of the RPS_PSR bits causes the
* corresponding interrupt to be generated if enabled
*/
/* Convert application's ADC specification into form /* Convert application's ADC specification into form
* appropriate for register programming. * appropriate for register programming.
*/ */
...@@ -2586,9 +2580,6 @@ static void s626_initialize(struct comedi_device *dev) ...@@ -2586,9 +2580,6 @@ static void s626_initialize(struct comedi_device *dev)
/* Initialize the digital I/O subsystem */ /* Initialize the digital I/O subsystem */
s626_dio_init(dev); s626_dio_init(dev);
/* enable interrupt test */
/* writel(IRQ_GPIO3 | IRQ_RPS1, devpriv->mmio + P_IER); */
} }
static int s626_auto_attach(struct comedi_device *dev, static int s626_auto_attach(struct comedi_device *dev,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment