diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2012-08-19 21:23:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-25 10:56:48 -0300 |
commit | 8ac456495a33d9466076fea94594181ceefb76d9 (patch) | |
tree | d452d0c40004d1eaee6b34a0838fc8932eda2997 /drivers/media/usb/au0828/au0828-cards.c | |
parent | c6b69c6c58288587c33efb43ca6e19f1c80b2757 (diff) | |
download | blackbird-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