Title: [8209] trunk/drivers/usb/musb/musb_core.c: set version of musb of Blackfin with a hardcoded value,1.9.
- Revision
- 8209
- Author
- cliff
- Date
- 2010-01-21 03:29:04 -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_core.c (8208 => 8209)
--- trunk/drivers/usb/musb/musb_core.c 2010-01-21 08:01:00 UTC (rev 8208)
+++ trunk/drivers/usb/musb/musb_core.c 2010-01-21 08:29:04 UTC (rev 8209)
@@ -1390,7 +1390,14 @@
}
/* log release info */
+#ifdef BLACKFIN
+ /* 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.
+ */
+ musb->hwvers = 1 << 10 | 9;
+#else
musb->hwvers = musb_read_hwvers(mbase);
+#endif
snprintf(aRevision, 32, "%d.%d%s", MUSB_HWVERS_MAJOR(musb->hwvers),
MUSB_HWVERS_MINOR(musb->hwvers),
(musb->hwvers & MUSB_HWVERS_RC) ? "RC" : "");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits