Title: [7747] trunk/drivers/serial/bfin_sport_uart.h: bfin_sport_uart: use official anomal number (473)
Revision
7747
Author
vapier
Date
2009-11-02 22:07:18 -0500 (Mon, 02 Nov 2009)

Log Message

bfin_sport_uart: use official anomal number (473)

Modified Paths


Diff

Modified: trunk/drivers/serial/bfin_sport_uart.h (7746 => 7747)


--- trunk/drivers/serial/bfin_sport_uart.h	2009-11-03 03:04:39 UTC (rev 7746)
+++ trunk/drivers/serial/bfin_sport_uart.h	2009-11-03 03:07:18 UTC (rev 7747)
@@ -41,15 +41,15 @@
  * If another interrupt fires while doing a 32-bit read from RX FIFO,
  * a fake RX underflow error will be generated.  So disable interrupts
  * to prevent interruption while reading the FIFO.
- * Once hardware design can root cause and officially log this, we can
- * update the code to use a standard ANOMALY_XXX define.
  */
 #define SPORT_GET_RX32(sport) \
 ({ \
 	unsigned int __ret; \
-	local_irq_disable(); \
+	if (ANOMALY_05000473) \
+		local_irq_disable(); \
 	__ret = bfin_read32((sport)->port.membase + OFFSET_RX); \
-	local_irq_enable(); \
+	if (ANOMALY_05000473) \
+		local_irq_enable(); \
 	__ret; \
 })
 #define SPORT_GET_RCR1(sport)		bfin_read16(((sport)->port.membase + OFFSET_RCR1))
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to