diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-02-28 00:05:59 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-02-28 00:05:59 +0000 |
commit | 229cb7dcb0293d22d75442c72f5f44ffb3956aa5 (patch) | |
tree | 7599d3861b21a87bda39b424b2dc43bf7d0aa4e7 /xpp/card_fxo.c | |
parent | 75a1b90515aa90729ba32cb9698a6db53e19cdd4 (diff) |
* xpp rev. 3495: fix a race in the FXO driver of recent weeks.
* Add the Astribank BRI driver (though still needs bristuffed zaptel
to build and thus will not build by default)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2243 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r-- | xpp/card_fxo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c index 6348955..ff87120 100644 --- a/xpp/card_fxo.c +++ b/xpp/card_fxo.c @@ -721,7 +721,6 @@ static void update_power_denial(xpd_t *xpd, byte data_low, lineno_t chipsel) HANDLER_DEF(FXO, DAA_REPLY) { reg_cmd_t *info = &RPACKET_FIELD(pack, FXO, DAA_REPLY, regcmd); - unsigned long flags; struct FXO_priv_data *priv; lineno_t chipsel; @@ -730,7 +729,6 @@ HANDLER_DEF(FXO, DAA_REPLY) __FUNCTION__, cmd->name, XPD_NUM(pack->addr)); return -EPROTO; } - spin_lock_irqsave(&xpd->lock, flags); priv = xpd->priv; BUG_ON(!priv); chipsel = REG_FIELD(info, chipsel); @@ -755,7 +753,6 @@ HANDLER_DEF(FXO, DAA_REPLY) REG_FIELD(&xpd->requested_reply, subreg) == REG_FIELD(info, subreg)) { xpd->last_reply = *info; } - spin_unlock_irqrestore(&xpd->lock, flags); return 0; } |