Files
linux/drivers/media/usb/pwc
Hans Verkuil 80b0963e16 [media] pwc: fix WARN_ON
If start_streaming fails, then the buffers must be given back to vb2 with state
QUEUED, not ERROR. Otherwise a WARN_ON will be generated.

In the disconnect it is pointless to call pwc_cleanup_queued_bufs() as stop_streaming()
will be called anyway.

Signed-off-by: Hans Verkuil <[email protected]>
Tested-by: Hans Verkuil <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2015-01-29 18:27:03 -02:00
..
…
…
2015-01-29 18:27:03 -02:00
2014-09-03 09:55:43 -03:00