aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/atm/idt77252.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 1bdf104e90bb..b621f56a36be 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -2551,12 +2551,12 @@ done:
2551 timeout = 5 * 1000; 2551 timeout = 5 * 1000;
2552 while (atomic_read(&vc->scq->used) > 0) { 2552 while (atomic_read(&vc->scq->used) > 0) {
2553 timeout = msleep_interruptible(timeout); 2553 timeout = msleep_interruptible(timeout);
2554 if (!timeout) 2554 if (!timeout) {
2555 pr_warn("%s: SCQ drain timeout: %u used\n",
2556 card->name, atomic_read(&vc->scq->used));
2555 break; 2557 break;
2558 }
2556 } 2559 }
2557 if (!timeout)
2558 printk("%s: SCQ drain timeout: %u used\n",
2559 card->name, atomic_read(&vc->scq->used));
2560 2560
2561 writel(TCMDQ_HALT | vc->index, SAR_REG_TCMDQ); 2561 writel(TCMDQ_HALT | vc->index, SAR_REG_TCMDQ);
2562 clear_scd(card, vc->scq, vc->class); 2562 clear_scd(card, vc->scq, vc->class);