media: vicodec: upon release, call m2m release before freeing ctrl handler
authorDafna Hirschfeld <dafna3@gmail.com>
Wed, 6 Mar 2019 21:13:25 +0000 (16:13 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 25 Mar 2019 17:28:27 +0000 (13:28 -0400)
commit4d10452cd1ed619d95fde81cef837069f4c754cd
treed1d11fd171833c8843b675ab07551fd75a186b2b
parentfb56f4be05adb64674a8a4ec230090960a61732e
media: vicodec: upon release, call m2m release before freeing ctrl handler

'v4l2_m2m_ctx_release' calls request complete
so it should be called before 'v4l2_ctrl_handler_free'.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/vicodec-core.c