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)
committerJonathan Hamilton <jonathan.hamilton@imgtec.com>
Thu, 17 Jul 2014 23:02:20 +0000 (16:02 -0700)
commite947bc2827cf608bd42ec9480e759766e5dfe09c
tree59d6740f37921217706e8a3a138150f7a205bbff
parent58c62d4474fbeda42851553a546e5cb860a036ea
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