staging: comedi: me4000: don't clobber command flags
authorIan Abbott <abbotti@mev.co.uk>
Thu, 30 Oct 2014 12:42:27 +0000 (12:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:28:46 +0000 (16:28 -0800)
commit8986d37ace6aed435c29084756923bdbb5148624
tree6a4eadb14d24c70e744b6617f555782c7afa2fe6
parent5d070cf25c4ecefaaa845ee7c1c3719c90f1c370
staging: comedi: me4000: don't clobber command flags

The low-level Comedi drivers shouldn't change the `flags` member of
`struct comedi_cmd` as the Comedi core also uses some of those flags.
They should just ignore the flags they don't understand.

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/me4000.c