[dahdi-commits] sruffell: linux/trunk r9892 - /linux/trunk/drivers/dahdi/wcb4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Apr 4 11:26:16 CDT 2011
Author: sruffell
Date: Mon Apr 4 11:26:11 2011
New Revision: 9892
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9892
Log:
b4xxp: Only create the timing_master attributes in the context of probe
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Michael Spiceland <mspiceland at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=9892&r1=9891&r2=9892
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Mon Apr 4 11:26:11 2011
@@ -1974,8 +1974,6 @@
flush_pci();
udelay(100); /* wait a bit for clock to settle */
-
- create_sysfs_files(b4);
}
/*
@@ -2914,6 +2912,8 @@
b4xxp_init_stage1(b4);
+ create_sysfs_files(b4);
+
if (request_irq(pdev->irq, b4xxp_interrupt, DAHDI_IRQ_SHARED_DISABLED, "b4xxp", b4)) {
dev_err(&b4->pdev->dev, "Unable to request IRQ %d\n",
pdev->irq);
More information about the dahdi-commits
mailing list