media: vicodec: move v4l2_ctrl_request_complete after spin_unlock
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 30 Mar 2019 14:27:36 +0000 (10:27 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 15:28:01 +0000 (11:28 -0400)
commite5bc0e1ddd1cd3328297f255e215b3ca55f4fbc8
treec9c0c0d160ea735a88231c4077d0352938dab3c5
parent22670e77724d9141267c2db8f557b43575220bf7
media: vicodec: move v4l2_ctrl_request_complete after spin_unlock

v4l2_ctrl_request_complete can sleep, so can't be called while
a spinlock is held.

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