Title: [4205] branches/branch_R06R2/drivers/char/bfin_sport.c: bug[#3874] add some clear up code to avoid hanging the driver when DITFS is low
Revision
4205
Author
cliff
Date
2008-02-01 00:49:55 -0600 (Fri, 01 Feb 2008)

Log Message

bug[#3874]add some clear up code to avoid hanging the driver when DITFS is low

Diffstat

 bfin_sport.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

Modified Paths

Diff

Modified: branches/branch_R06R2/drivers/char/bfin_sport.c (4204 => 4205)


--- branches/branch_R06R2/drivers/char/bfin_sport.c	2008-02-01 06:18:34 UTC (rev 4204)
+++ branches/branch_R06R2/drivers/char/bfin_sport.c	2008-02-01 06:49:55 UTC (rev 4205)
@@ -350,7 +350,10 @@
 	struct sport_dev *dev = dev_id;
 
 	sport_tx_write(dev);
-
+	dev->regs->tcr1 &= ~TSPEN;
+	SSYNC();
+	dev->wait_con = 1;
+	wake_up(&dev->waitq);
 	return IRQ_HANDLED;
 }
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to