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 <email@example.com>
Signed-off-by: Boris Brezillon <firstname.lastname@example.org>
Signed-off-by: Hans Verkuil <email@example.com>
Signed-off-by: Mauro Carvalho Chehab <firstname.lastname@example.org>
1 file changed