summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/m920x.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2007-05-04 15:19:59 (GMT)
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-09 13:12:56 (GMT)
commit36a63ee34b568de8d0762f9b07f34ae5caae7724 (patch)
tree0ad63f1e92b05f5505e90271f784b1d63a641911 /drivers/media/dvb/dvb-usb/m920x.c
parent5ad5e4845b441a00e4165e2c2e3ac8507db9cbe6 (diff)
downloadlinux-fsl-qoriq-36a63ee34b568de8d0762f9b07f34ae5caae7724.tar.xz
V4L/DVB (5603): V4L: Prevent queueing queued buffers.
videobuf_qbuf queues buffers to q->stream but does not properly check the state of the buffer before queueing. It was possible to queue buffers that already were in the queue. Only buffers that are in states STATE_NEEDS_INIT and STATE_IDLE can be queued. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/m920x.c')
0 files changed, 0 insertions, 0 deletions