projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656d9b0
)
staging: comedi: pcl812: use CMDF_WAKE_EOS
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 3 Sep 2014 12:45:41 +0000
(13:45 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:50:14 +0000
(13:50 -0700)
Replace use of `TRIG_WAKE_EOS` command flag with the new name
`CMDF_WAKE_EOS`. The numeric value is unchanged.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl812.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/pcl812.c
b/drivers/staging/comedi/drivers/pcl812.c
index 55620c95cf04b45eb4935ebd680a50ac93a18551..61549e32e453a2938041560c258b57a78f16427f 100644
(file)
--- a/
drivers/staging/comedi/drivers/pcl812.c
+++ b/
drivers/staging/comedi/drivers/pcl812.c
@@
-812,7
+812,7
@@
static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
s->async->cur_chan = 0;
/* don't we want wake up every scan? */
- if (cmd->flags &
TRIG
_WAKE_EOS) {
+ if (cmd->flags &
CMDF
_WAKE_EOS) {
devpriv->ai_eos = 1;
/* DMA is useless for this situation */