projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6a881
)
USB: musb: Make sure we program the correct values in only when necessary.
author
Robin Getz
<
[email protected]
>
Tue, 2 Dec 2008 19:33:45 +0000
(21:33 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 7 Jan 2009 18:00:07 +0000
(10:00 -0800)
Make sure we program the correct values in only when necessary.
Signed-off-by: Robin Getz <
[email protected]
>
Signed-off-by: Bryan Wu <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/musb/blackfin.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/blackfin.c
b/drivers/usb/musb/blackfin.c
index 3fb719aecf006459bb34a799862ced31c73ee0a8..eed35c933bc2920c3edd30e26af9eb1cc477c212 100644
(file)
--- a/
drivers/usb/musb/blackfin.c
+++ b/
drivers/usb/musb/blackfin.c
@@
-245,13
+245,15
@@
int __init musb_platform_init(struct musb *musb)
}
gpio_direction_output(musb->config->gpio_vrsel, 0);
- /* Anomaly #05000346 */
- bfin_write_USB_APHY_CALIB(0x5411);
- SSYNC();
+ if (ANOMALY_05000346) {
+ bfin_write_USB_APHY_CALIB(ANOMALY_05000346_value);
+ SSYNC();
+ }
- /* Anomaly #05000347 */
- bfin_write_USB_APHY_CNTRL(0x0);
- SSYNC();
+ if (ANOMALY_05000347) {
+ bfin_write_USB_APHY_CNTRL(0x0);
+ SSYNC();
+ }
/* TODO
* Set SIC-IVG register