linux/drivers/staging
Ian Abbott 22056e2b46 staging: comedi: ni_labpc: set up command4 register *after* command3
Tuomas <tvainikk _at_ gmail _dot_ com> reported problems getting
meaningful output from a Lab-PC+ in differential mode for AI cmds, but
AI insn reads gave correct readings.  He tracked it down to two
problems, one of which is addressed by this patch.

It seems that writing to the command3 register after writing to the
command4 register in `labpc_ai_cmd()` messes up the differential
reference bit setting in the command4 register.  Set up the command4
register after the command3 register (as in `labpc_ai_rinsn()`) to avoid
the problem.

Thanks to Tuomas for suggesting the fix.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Cc: <stable@vger.kernel.org> # 3.7.x, 3.8.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-03 17:45:07 -08:00
..
android
asus_oled
bcm
ccg
ced1401
comedi staging: comedi: ni_labpc: set up command4 register *after* command3 2013-02-03 17:45:07 -08:00
cptm1217
crystalhd
csr staging/csr: Use kmemdup rather than duplicating its implementation 2013-01-29 23:22:16 -05:00
cxt1e1 staging: cxt1e1: buffer overflow in do_del_chan() 2013-01-25 11:21:26 -08:00
dgrp staging: dgrp: check for a valid proc dir entry pointer 2013-01-22 08:58:44 -08:00
echo
et131x staging: et131x: Fix all sparse warnings 2013-01-22 09:15:18 -08:00
frontier
ft1000
fwserial staging/fwserial: Fix compiler warning 2013-01-31 10:30:34 +01:00
gdm72xx
goldfish goldfish: NAND flash driver 2013-01-24 13:53:23 -08:00
iio iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
imx-drm
keucr
line6 staging: line6: clean up line6_variax_process_message() 2013-01-20 15:57:47 -08:00
media
net
nvec staging: nvec: cleanup the string mess 2013-01-29 23:25:10 -05:00
octeon
olpc_dcon
omap-thermal staging: omap-thermal/omap-bandgap.c: adjust duplicate test 2013-01-21 14:00:10 -08:00
omapdrm staging/omapdrm: Use kmemdup rather than duplicating its implementation 2013-01-29 23:22:16 -05:00
ozwpan staging:ozwpan: Fix following warning. 2013-01-29 23:25:10 -05:00
panel
phison
quickstart
rtl8187se
rtl8192e
rtl8192u
rtl8712
rts5139
sb105x Merge 3.8-rc5 into staging-next 2013-01-25 21:25:02 -08:00
sbe-2t3e3
sep staging: sep: remove assignment to i and j in sep_crypto_setup 2013-01-22 08:58:44 -08:00
serqt_usb2
silicom
slicoss
sm7xxfb
speakup
ste_rmi4
tidspbridge staging: tidspbridge/pmgr: another using strlcpy instead of strncpy 2013-01-21 14:00:10 -08:00
usbip staging: usbip: replace the interrupt safe spinlocks with common ones. 2013-01-22 09:00:10 -08:00
vme
vt6655
vt6656 staging: vt6656: fix C99 // comments in main_usb.c 2013-02-03 17:32:26 -08:00
winbond
wlags49_h2
wlags49_h25
wlan-ng Staging: wlan-ng: Fix tab coding style issue in hfa384x.h 2013-02-03 17:42:07 -08:00
xgifb staging/xgifb: remove unused variables 2013-02-03 19:26:14 -06:00
zcache Staging: zcache: remove unnecessary braces in zcache-main.c 2013-01-29 23:22:16 -05:00
zram staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00
zsmalloc staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00
Kconfig goldfish: audio support 2013-01-24 13:51:38 -08:00
Makefile goldfish: audio support 2013-01-24 13:51:38 -08:00
staging.c