diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-22 10:04:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-22 22:22:13 -0400 |
commit | bd3a3cd6c27b117fb9a43a38c8072c95332beecc (patch) | |
tree | 1010ee2de51f0b55bd7acef80a7dc22afbf70081 /net/switchdev/switchdev.c | |
parent | 982177677a835c7084f50206769bf58906d87d76 (diff) |
staging: comedi: ni_mio_common: fix the ni_write[blw]() functions
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)")
Cc: <stable@vger.kernel.org> # 3.17+
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions