diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-08-04 07:29:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-29 18:27:03 -0200 |
commit | 80b0963e1698e10a58451f0508058fc20e48334a (patch) | |
tree | b925dc546153cbdf086b6c67b467591770fa01d8 /fs/no-block.c | |
parent | a4bca4c7ad36a4cdafc87d1dce3758cdccef1ca7 (diff) | |
download | linux-80b0963e1698e10a58451f0508058fc20e48334a.tar.bz2 |
[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>
Diffstat (limited to 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions