commit | cbec2836f8be61ca573d48efe8803929100d4cba | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Thu Oct 18 14:02:22 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Fri Nov 23 06:36:35 2018 -0500 |
tree | 9eee0b9043edad47e00d2ac86a7dae4c2206c0da | |
parent | 542a522d32efb613cfc929bdbf2c4160359167f9 [diff] |
media: v4l2-mem2mem: Simplify exiting the function in __v4l2_m2m_try_schedule The __v4l2_m2m_try_schedule function acquires and releases multiple spinlocks. Simplify unlocking the job lock by adding labels to unlock the lock and exit the function. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>