]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: das08: Correct AO output for das08jr-16-ao
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 19:41:30 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:01 +0000 (10:39 -0700)
commitb3dfef38737262a1d46231f19b4a9be235a20d2f
tree87ec92bd1233bfb5cee21cc3deb3b84b5bd88601
parent1a272a3cbd65bd8bd3b5ced8fe14840269252062
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