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:
d214602
)
[POWERPC] Fix mpc834x USB-MPH configuration.
author
[email protected]
<
[email protected]
>
Fri, 28 Sep 2007 14:21:14 +0000
(16:21 +0200)
committer
Kumar Gala
<
[email protected]
>
Fri, 28 Sep 2007 15:26:35 +0000
(10:26 -0500)
mpc834x USB-MPH configuration got broken by commit
6f442560021aecf08658e26ed9a37e6928ef0fa1
. The selection bits in SICRL
should be cleared rather than set to configure the USB MUXes for the MPH.
Signed-off-by: Peter Korsgaard <
[email protected]
>
Signed-off-by: Kumar Gala <
[email protected]
>
arch/powerpc/platforms/83xx/usb.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/83xx/usb.c
b/arch/powerpc/platforms/83xx/usb.c
index e7fdf013cd393b59ddd74cad96a91096f424a183..eafe7605cdaca6f3d10b8966c8682ceeec0167c3 100644
(file)
--- a/
arch/powerpc/platforms/83xx/usb.c
+++ b/
arch/powerpc/platforms/83xx/usb.c
@@
-76,14
+76,14
@@
int mpc834x_usb_cfg(void)
if (port0_is_dr)
printk(KERN_WARNING
"834x USB port0 can't be used by both DR and MPH!\n");
- sicrl
|=
MPC834X_SICRL_USB0;
+ sicrl
&= ~
MPC834X_SICRL_USB0;
}
prop = of_get_property(np, "port1", NULL);
if (prop) {
if (port1_is_dr)
printk(KERN_WARNING
"834x USB port1 can't be used by both DR and MPH!\n");
- sicrl
|=
MPC834X_SICRL_USB1;
+ sicrl
&= ~
MPC834X_SICRL_USB1;
}
of_node_put(np);
}