video: adf: Cleanup sw_sync timeline at adf_device_destroy
authorJonathan Hamilton <jonathan.hamilton@imgtec.com>
Thu, 17 Jul 2014 22:54:44 +0000 (15:54 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:23 +0000 (13:53 -0800)
commit9f577b18243925d419a8e167c4a8a70449afec70
tree5f01a5f264a52074a9b36463946e457137da10f8
parentefc4bbe21c18b2ae4d5576152cf4fb99a82890e3
video: adf: Cleanup sw_sync timeline at adf_device_destroy

If a sw_sync timeline was created by ADF (for drivers that do not implement
ops->complete_fence) we should clean it up when the ADF device is
destroyed.

Change-Id: Idd90180fcae56a87111f7d12bdd80190756a6b80
Signed-off-by: Jonathan Hamilton <jonathan.hamilton@imgtec.com>
drivers/video/adf/adf.c