commit | 8ac456495a33d9466076fea94594181ceefb76d9 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <elezegarcia@gmail.com> | Sun Aug 19 21:23:46 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Sep 25 10:56:48 2012 -0300 |
tree | d452d0c40004d1eaee6b34a0838fc8932eda2997 | |
parent | c6b69c6c58288587c33efb43ca6e19f1c80b2757 [diff] |
[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>