[media] cx25821: Drop Freeing of Workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Mon, 25 Jul 2016 14:55:22 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 15:49:10 +0000 (12:49 -0300)
commit534e1f3c4f35e198f1ffca2a2372ebe811b6d9f1
treef9824deaa715155b8c34aee30ba61144ef1bf3df
parentaf4cc4629f2fc17cfeaafebb703acbbcff2c8b21
[media] cx25821: Drop Freeing of Workqueue

Workqueues shouldn't be freed. destroy_workqueue should be used instead.
destroy_workqueue safely destroys a workqueue and ensures that all pending
work items are done before destroying the workqueue.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx25821/cx25821-audio-upstream.c