summaryrefslogtreecommitdiff
path: root/block/blk-mq-cpumap.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-08-04 14:29:59 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-29 23:27:03 +0300
commit80b0963e1698e10a58451f0508058fc20e48334a (patch)
treeb925dc546153cbdf086b6c67b467591770fa01d8 /block/blk-mq-cpumap.c
parenta4bca4c7ad36a4cdafc87d1dce3758cdccef1ca7 (diff)
downloadlinux-80b0963e1698e10a58451f0508058fc20e48334a.tar.xz
[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 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions