summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2020-01-13 08:59:51 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 18:43:20 +0300
commitcc62c74749a3cacfac126a6f6dfc2f40bd58a79e (patch)
tree6291f9392ea78e617cc0a24157ab3f57873a4586 /include/media
parent6b212c0cd5c95fccb69f961284b0fa71ee2260f1 (diff)
downloadlinux-cc62c74749a3cacfac126a6f6dfc2f40bd58a79e.tar.xz
media: allegro: add missed checks in allegro_open()
allegro_open() misses checks for v4l2_m2m_ctx_init() and results of v4l2_ctrl_new* calls. Add checks and error handlers to fix the problems. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions