Star64_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 <hans.verkuil@cisco.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-01-29 18:27:03 -02:00
..
Kconfig
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
philips.txt
pwc-ctrl.c [media] pwc: Fix codec1 cameras no longer working 2012-11-21 13:05:57 -02:00
pwc-dec1.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-dec1.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-dec23.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-dec23.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-if.c [media] pwc: fix WARN_ON 2015-01-29 18:27:03 -02:00
pwc-kiara.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-kiara.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-misc.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-nala.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-timon.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-timon.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-uncompress.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
pwc-v4l.c [media] pwc: fix sparse warning 2014-09-03 09:55:43 -03:00
pwc.h [media] pwc: Fix comment wrt lock ordering 2013-05-07 09:35:07 -03:00