summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorEzequiel Garcia <elezegarcia@gmail.com>2012-08-19 21:23:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-25 10:56:48 -0300
commit8ac456495a33d9466076fea94594181ceefb76d9 (patch)
treed452d0c40004d1eaee6b34a0838fc8932eda2997 /drivers/media/usb/au0828/au0828-cards.c
parentc6b69c6c58288587c33efb43ca6e19f1c80b2757 (diff)
downloadblackbird-op-linux-8ac456495a33d9466076fea94594181ceefb76d9.tar.gz
blackbird-op-linux-8ac456495a33d9466076fea94594181ceefb76d9.zip
[media] stk1160: Stop device and unqueue buffers when start_streaming() fails
If start_streaming() fails (e.g. out of memory) the driver needs to rewind the start procedure. This implies possibly stopping the device and clearing the buffer queue. Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828-cards.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud