Title: [8211] trunk/drivers/usb/musb/musb_regs.h: set version of musb of Blackfin with a hardcoded value,1.9.
Revision
8211
Author
cliff
Date
2010-01-21 03:43:50 -0500 (Thu, 21 Jan 2010)

Log Message

set version of musb of Blackfin with a hardcoded value,1.9.

Modified Paths


Diff

Modified: trunk/drivers/usb/musb/musb_regs.h (8210 => 8211)


--- trunk/drivers/usb/musb/musb_regs.h	2010-01-21 08:42:26 UTC (rev 8210)
+++ trunk/drivers/usb/musb/musb_regs.h	2010-01-21 08:43:50 UTC (rev 8211)
@@ -462,7 +462,10 @@
 
 static inline u16 musb_read_hwvers(void __iomem *mbase)
 {
-	return 0;
+	/* This register is invisible on Blackfin, actually the MUSB
+	 * RTL version of Blackfin is 1.9, So just set it's value to 1.9.
+	 */
+	return 1 << 10 | 9;
 }
 
 static inline void __iomem *musb_read_target_reg_base(u8 i, void __iomem *mbase)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to