commit | 612031c0771def54dd202cef76bb9bd654e47b5b | [log] [tgz] |
---|---|---|
author | Simon Farnsworth <simon.farnsworth@onelan.co.uk> | Tue May 10 10:49:50 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 20:21:27 2011 -0300 |
tree | df8d294ba25d0ad6aa21d6cfecc88977d6a0e9b8 | |
parent | d9c417b5a462d9d0392d91bb73d9a1a16bb2959a [diff] |
[media] cx18: Move spinlock and vb_type initialisation into stream_init The initialisation of vb_type in serialized_open was preventing REQBUFS from working reliably. Remove it, and move the spinlock into stream_init for good measure - it's only used when we have a stream that supports videobuf anyway. Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>