diff options
author | H Hartley Sweeten <[email protected]> | 2015-02-23 13:22:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-02-28 07:20:37 -0800 |
commit | 7e4f1e777814c6916b513b5dc90e030ee4e25f04 (patch) | |
tree | 1c074688e0e653fad3324aaceb34266db7c89731 /lib/memory-notifier-error-inject.c | |
parent | c18fafc89c38251f4ddabfa2c9e0be90169c0e59 (diff) |
staging: comedi: comedi_isadma: fix "stalled" detect in comedi_isadma_disable_on_sample()
The "stalled" variable this function is used to detect if the DMA operation
is stalled while trying to disable DMA on a full comedi sample. The reset
of this variable should only occur when the remaining bytes of the DMA
transfer does not equal the remaining bytes from the last check.
Reported-by: coverity (CID 1271132)
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions