This is an automatic generated email to let you know that the following patch 
were queued:

Subject: [media] cx25821: Drop Freeing of Workqueue
Author:  Bhaktipriya Shridhar <bhaktipriy...@gmail.com>
Date:    Mon Jul 25 11:55:22 2016 -0300

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 <bhaktipriy...@gmail.com>
Acked-by: Tejun Heo <t...@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/media/pci/cx25821/cx25821-audio-upstream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/pci/cx25821/cx25821-audio-upstream.c 
b/drivers/media/pci/cx25821/cx25821-audio-upstream.c
index 68dbc2dbc982..05bd957a59d0 100644
--- a/drivers/media/pci/cx25821/cx25821-audio-upstream.c
+++ b/drivers/media/pci/cx25821/cx25821-audio-upstream.c
@@ -242,7 +242,7 @@ void cx25821_stop_upstream_audio(struct cx25821_dev *dev)
        dev->_audioframe_count = 0;
        dev->_audiofile_status = END_OF_FILE;
 
-       kfree(dev->_irq_audio_queues);
+       destroy_workqueue(dev->_irq_audio_queues);
        dev->_irq_audio_queues = NULL;
 
        kfree(dev->_audiofilename);

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to