diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-22 10:04:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-12 09:08:49 -0700 |
| commit | 62fe263236e09a5b4ec64bc71a42d37caf943eca (patch) | |
| tree | 139ab8d07bab52094fc2236619f98f4b3d09dbb6 /include/linux | |
| parent | 263b0af7cc419a6f5254269a30e9784b5476f433 (diff) | |
staging: comedi: ni_mio_common: fix the ni_write[blw]() functions
commit bd3a3cd6c27b117fb9a43a38c8072c95332beecc upstream.
Memory mapped io (dev->mmio) should not also be writing to the ioport
(dev->iobase) registers. Add the missing 'else' to these functions.
Fixes: 0953ee4acca0 ("staging: comedi: ni_mio_common: checkpatch.pl cleanup (else not useful)")
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
