staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Jun 2018 09:36:30 +0000 (12:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 14:29:24 +0000 (16:29 +0200)
commit32199c810655f5251e388abdd63e2313c71ad4d8
treed09245d03a89df0519fab1f39e37d0449a5d0b73
parent6d2b458d3d140bf75899aa1ef4349d7921bb7bf5
staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()

commit 1376b0a2160319125c3a2822e8c09bd283cd8141 upstream.

There is a '>' vs '<' typo so this loop is a no-op.

Fixes: d35dcc89fc93 ("staging: comedi: quatech_daqp_cs: fix daqp_ao_insn_write()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/quatech_daqp_cs.c