diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-01-09 15:47:30 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 10:00:36 -0800 |
commit | 41add2e84bff0c887949698e01dab28105f11a6b (patch) | |
tree | f5488d770c5178b6f502614b82bac19fb0025765 /drivers/hwmon/vt1211.c | |
parent | 9e77e6b62e699fe23a4648ac438115c5fc952e42 (diff) |
staging: comedi: ni_pcidio: Mark buffer for writing when setting up DMA.
When setting up the DMA for 'read' streaming acquisition on the DIO
subdevice, mark the whole buffer as writable before starting the DMA.
This prevents a spurious detection of a DMA overwrite of good data
during the first interrupt.
Problem reported by Nicholas Nell. Fix suggested by Frank Mori Hess.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/vt1211.c')
0 files changed, 0 insertions, 0 deletions