From: Karsten Keil Date: Fri, 19 Oct 2007 06:39:18 +0000 (-0700) Subject: isdn: fix random hard freeze with AVM c4 card part 2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eac141deb4f0136059372923ac3f0eab0bef5bce;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git isdn: fix random hard freeze with AVM c4 card part 2 One call was missing in the previous patch. Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c index 8710cf6214d9..4bbbbe688077 100644 --- a/drivers/isdn/hardware/avm/c4.c +++ b/drivers/isdn/hardware/avm/c4.c @@ -678,7 +678,9 @@ static irqreturn_t c4_handle_interrupt(avmcard *card) for (i=0; i < card->nr_controllers; i++) { avmctrl_info *cinfo = &card->ctrlinfo[i]; memset(cinfo->version, 0, sizeof(cinfo->version)); + spin_lock_irqsave(&card->lock, flags); capilib_release(&cinfo->ncci_head); + spin_unlock_irqrestore(&card->lock, flags); capi_ctr_reseted(&cinfo->capi_ctrl); } card->nlogcontr = 0;