diff options
author | Christophe JAILLET <[email protected]> | 2022-08-22 11:40:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-08-30 07:35:47 +0200 |
commit | 8e69714e6177d963668a45499b500c1d4de7bac8 (patch) | |
tree | 3ac0d2983c1b532e46f0111720483bdbeb2d3ae4 /tools/lib/api/debug.c | |
parent | a7985e3cecd56d0f553487ac12fe4f65962c4b34 (diff) |
media: dw100: Fix an error handling path in dw100_probe()
After a successful call to media_device_init() it is safer to call
media_device_cleanup().
Add the missing call in the error handling path of the probe, as already
done in the remove function.
[hverkuil: fixed a typo in the commit log]
Fixes: bd090d4d995a ("media: dw100: Add i.MX8MP dw100 dewarper driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions