diff options
| author | Chuhong Yuan <[email protected]> | 2020-01-13 06:59:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-02-24 16:43:20 +0100 |
| commit | cc62c74749a3cacfac126a6f6dfc2f40bd58a79e (patch) | |
| tree | 6291f9392ea78e617cc0a24157ab3f57873a4586 /drivers/media/platform/stm32/stm32-dcmi.c | |
| parent | 6b212c0cd5c95fccb69f961284b0fa71ee2260f1 (diff) | |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions