summaryrefslogtreecommitdiff
path: root/samples/v4l
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-11-03 15:01:42 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2019-11-08 07:34:22 +0100
commit0c90f649d2f5b9c6c585cab293a4e40172ddaa73 (patch)
treef8ba2784859dc0f399e73f51a0bf6b70f0e6532e /samples/v4l
parent1318372450954b4fcd4b3886703286103b040ded (diff)
media: vivid: add vivid_create_queue() helper
Refactor some of the vivid_create_instance code by using a new vivid_create_queue() helper function. Also add some sanity checks for the node_types vs input/output_types module options. This patch resolves these two smatch parse errors: drivers/media/platform/vivid/vivid-core.c:1679 vivid_create_instance() parse error: OOM: 3002600Kb sm_state_count = 6160113 drivers/media/platform/vivid/vivid-core.c: drivers/media/platform/vivid/vivid-core.c:1679 vivid_create_instance() parse error: __split_smt: function too hairy. Giving up after 33 seconds Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions