[POWERPC] Fix mpc834x USB-MPH configuration.

mpc834x USB-MPH configuration got broken by commit
6f44256002. The selection bits in SICRL
should be cleared rather than set to configure the USB MUXes for the MPH.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
jacmet@sunsite.dk 2007-09-28 16:21:14 +02:00 коммит произвёл Kumar Gala
Родитель d214602804
Коммит 39db0fd9db
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -76,14 +76,14 @@ int mpc834x_usb_cfg(void)
if (port0_is_dr) if (port0_is_dr)
printk(KERN_WARNING printk(KERN_WARNING
"834x USB port0 can't be used by both DR and MPH!\n"); "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); prop = of_get_property(np, "port1", NULL);
if (prop) { if (prop) {
if (port1_is_dr) if (port1_is_dr)
printk(KERN_WARNING printk(KERN_WARNING
"834x USB port1 can't be used by both DR and MPH!\n"); "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); of_node_put(np);
} }