[PATCH] build: Update backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jasmin Jessich <jasmin@xxxxxx>

Signed-off-by: Jasmin Jessich <jasmin@xxxxxx>
---
 backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch b/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch
index 89f508f..19d45f3 100644
--- a/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch
+++ b/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch
@@ -2,13 +2,13 @@ diff --git a/drivers/media/pci/cx18/cx18-driver.c b/drivers/media/pci/cx18/cx18-
 index 004d8ac..6508785 100644
 --- a/drivers/media/pci/cx18/cx18-driver.c
 +++ b/drivers/media/pci/cx18/cx18-driver.c
-@@ -695,7 +695,7 @@ static int cx18_create_in_workq(struct cx18 *cx)
+@@ -697,7 +697,7 @@ static int cx18_create_in_workq(struct cx18 *cx)
  {
  	snprintf(cx->in_workq_name, sizeof(cx->in_workq_name), "%s-in",
  		 cx->v4l2_dev.name);
 -	cx->in_work_queue = alloc_ordered_workqueue(cx->in_workq_name, 0);
 +	cx->in_work_queue = create_singlethread_workqueue(cx->in_workq_name);
- 	if (cx->in_work_queue == NULL) {
+ 	if (!cx->in_work_queue) {
  		CX18_ERR("Unable to create incoming mailbox handler thread\n");
  		return -ENOMEM;
 @@ -703,6 +703,18 @@ static int cx18_create_in_workq(struct cx18 *cx)
-- 
2.7.4




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux