diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2019-04-25 10:12:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-15 12:38:22 +0300 |
commit | fc8670d1f72b746ff3a5fe441f1fca4c4dba0e6f (patch) | |
tree | 46bc2951e79b87614e688fda56ec22ecf0e683cc /drivers/media/platform/sunxi | |
parent | f6d080f73a8fa0ff1cca84ea5bb73aafa9f538d4 (diff) | |
download | linux-fc8670d1f72b746ff3a5fe441f1fca4c4dba0e6f.tar.xz |
media: rockchip/vpu: Fix/re-order probe-error/remove path
media_device_cleanup() and v4l2_m2m_unregister_media_controller() were
missing in the probe error path.
While at it, re-order calls in the remove path to unregister/cleanup
things in the reverse order they were initialized/registered.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/sunxi')
0 files changed, 0 insertions, 0 deletions