summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-04-04 16:25:42 +0000
committerShaun Ruffell <sruffell@digium.com>2011-04-04 16:25:42 +0000
commit49ecbd5194fe98f723ffad06c088aa56a99401a9 (patch)
tree3ada6a0e6e99c8e1cb2dd89d0d28ecfa97c15897 /drivers
parent8fdab3b960b5f135f5168312e503aeeff9e2aa19 (diff)
wcte12xp, wctdm24xxp: Remove a PCI read from hardirq context.
No need for the CPU to wait there for that write to flush when all the writes will be flushed when the interrupt is acknoledged later. Saves nearly a 1 us from the interrupt handler on a 3Ghz Xeon test system. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Michael Spiceland <mspiceland@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9887 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dahdi/voicebus/voicebus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c
index e77d0e1..6736a2f 100644
--- a/drivers/dahdi/voicebus/voicebus.c
+++ b/drivers/dahdi/voicebus/voicebus.c
@@ -1564,7 +1564,8 @@ static void vb_tasklet_normal(unsigned long data)
list_del(&vbb->entry);
__voicebus_transmit(vb, vbb);
}
- __vb_setctl(vb, 0x0008, 0x00000000);
+
+ writel(0, vb->iobase + 0x8);
/* Print any messages about soft latency bumps after we fix the transmit
* descriptor ring. Otherwise it's possible to take so much time