diff options
author | Jernej Skrabec <[email protected]> | 2019-04-07 14:47:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-04-22 11:44:34 -0400 |
commit | bac875349f8525a75760d0eee525186cb59658ea (patch) | |
tree | f954eb76a1eeb03d6f89c258e6fd62dd4df97bfa /drivers/usb/cdns3/cdns3-ti.c | |
parent | dad7e270ba712ba1c99cd2d91018af6044447a06 (diff) |
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 <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Acked-by: Paul Kocialkowski <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions