staging: comedi: das08: Correct AO output for das08jr-16-ao
commitb004f11dd710379a31fa09ce22843b52e6f78a13
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 19:41:30 +0000 (31 20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 16:47:24 +0000 (2 09:47 -0700)
tree71d821520de049fc9b742ff069f1d7dc187137b6
parent7bdec51f7538d80268f35139bbb29b3ae2cb19e9
staging: comedi: das08: Correct AO output for das08jr-16-ao

commit 61ed59ed09e6ad2b8395178ea5ad5f653bba08e3 upstream.

Don't zero out bits 15..12 of the data value in `das08jr_ao_winsn()` as
that knobbles the upper three-quarters of the output range for the
'das08jr-16-ao' board.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c