Staging: comedi: ni_65xx.c: fix insn_bits shift calculation.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 21 Sep 2009 20:01:56 +0000 (16:01 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:47:25 +0000 (13:47 -0700)
commit2b49d7c40ec0806d93ced89ac6039ddcf223dea7
tree16c2532bafa35108f4b442fbd37ea3c376515097
parent5044a2c0e0e951afeb4dce87e18e10036635410a
Staging: comedi: ni_65xx.c: fix insn_bits shift calculation.

Fix insn_bits bitshift calculation for subdevice with non-zero
base_port.

Thanks to cJ-comedi at zougloub dot eu for spotting the bug.

Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_65xx.c