Re: Re: [alsa-devel] [PATCH v4 11/18] input: Add initial support for TWL6040 vibrator

From
Tejun Heo <tj@kernel.org>
Date
2011-06-17 09:43:43
Also in
alsa-devel, linux-omap, lkml
Reply to
Péter Ujfalusi, 2011-06-17
Hello, Péter.

On Fri, Jun 17, 2011 at 12:39:57PM +0300, Péter Ujfalusi wrote:
Just avoid another series...
I have looked at the alloc_workqueue, and I'm not really sure what parameters 
should I use.
#define create_singlethread_workqueue(name)			\
	alloc_workqueue((name), WQ_UNBOUND | WQ_MEM_RECLAIM, 1)

I would use something like this instead of create_singlethread_workqueue:

alloc_workqueue("twl6040-vibra", WQ_UNBOUND | WQ_MEM_RECLAIM | WQ_HIGHPRI, 1);
Just use the default params

	alloc_workqueue("twl6040-vibra", 0, 0);

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (43 messages) 43 messages, 4 authors, last reply 2011-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help