summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvme16x_scsi.c
diff options
context:
space:
mode:
authorFlorian Echtler <floe@butterbrot.org>2015-05-25 14:04:16 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 16:45:00 +0200
commit2b7eea83a4e694018ddc155078bc36bf702ea466 (patch)
tree9d37051e1546a50902d9f22312b0ca2e35d00be8 /drivers/scsi/mvme16x_scsi.c
parent[media] add extra debug output, remove noisy warning (diff)
downloadlinux-2b7eea83a4e694018ddc155078bc36bf702ea466.tar.xz
linux-2b7eea83a4e694018ddc155078bc36bf702ea466.zip
[media] return BUF_STATE_ERROR if streaming stopped during acquisition
When stop_streaming is called while a frame is currently being retrieved, the buffer being filled will still be returned with BUF_STATE_DONE. By resetting the sequence number and checking before returning the buffer, it can now correctly be returned with BUF_STATE_ERROR. Signed-off-by: Martin Kaltenbrunner <modin@yuri.at> Signed-off-by: Florian Echtler <floe@butterbrot.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/scsi/mvme16x_scsi.c')
0 files changed, 0 insertions, 0 deletions