diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2019-04-07 21:47:28 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-22 18:44:34 +0300 |
commit | bac875349f8525a75760d0eee525186cb59658ea (patch) | |
tree | f954eb76a1eeb03d6f89c258e6fd62dd4df97bfa /drivers/media/usb | |
parent | dad7e270ba712ba1c99cd2d91018af6044447a06 (diff) | |
download | linux-bac875349f8525a75760d0eee525186cb59658ea.tar.xz |
media: cedrus: Fix initialization order
Currently, MEDIA_IOC_G_TOPOLOGY ioctl on cedrus fails due to incorrect
initialization order. Fix that by moving video_register_device() before
v4l2_m2m_register_media_controller() and while at it, fix error path.
Reported-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.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/usb')
0 files changed, 0 insertions, 0 deletions