diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-05-07 19:42:00 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-05-07 19:42:00 +0000 |
commit | a6ebb39e2f623929944d953bb80ae77862732b1c (patch) | |
tree | 36dca124131d143ec53896bfabd092dbeb47573d /drivers/dahdi/wcte12xp/base.c | |
parent | 86856e80af24bcfaa4829d8d8d90c937a86e6c3f (diff) |
voicebus: Create workqueue for each vpmadt032 instance.
Depending on the system latency, the deferred work for the vpmadt032 can take
up to 200ms. This change allows each vpmadt032 to use its own workqueue, and
not the global system workqueue. This prevents vpm operations from blocking
the main system workqueue for extended periods.
This restores the behavior to the way it was before the common vpmadt032 code
was moved out of the wctdm24xxp and wcte12xp drivers.
DAHDI-260
voicebus-squash: Adding the wq name.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6572 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index 7ef378b..ec1d7ec 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -1385,7 +1385,7 @@ static int t1_hardware_post_init(struct t1 *wc) options.vpmnlpthresh = vpmnlpthresh; options.vpmnlpmaxsupp = vpmnlpmaxsupp; - wc->vpmadt032 = vpmadt032_alloc(&options); + wc->vpmadt032 = vpmadt032_alloc(&options, wc->name); if (!wc->vpmadt032) return -ENOMEM; |